﻿<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="DataSetReport" targetNamespace="http://tempuri.org/DataSetReport.xsd" xmlns:mstns="http://tempuri.org/DataSetReport.xsd" xmlns="http://tempuri.org/DataSetReport.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">
  <xs:annotation>
    <xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
      <DataSource DefaultConnectionIndex="0" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
        <Connections>
          <Connection AppSettingsObjectName="MySettings" AppSettingsPropertyName="erpharmaConnectionString" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="erpharmaConnectionString (MySettings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.ERPPHARMA.My.MySettings.GlobalReference.Default.erpharmaConnectionString" Provider="System.Data.SqlClient" />
        </Connections>
        <Tables>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="dmchinhanhTableAdapter" GeneratorDataComponentClassName="dmchinhanhTableAdapter" Name="dmchinhanh" UserDataComponentName="dmchinhanhTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="erpharmaConnectionString (MySettings)" DbObjectName="erpharma.dbo.dmchinhanh" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[dmchinhanh] WHERE (([ma] = @Original_ma) AND ([ten] = @Original_ten) AND ((@IsNull_diachi = 1 AND [diachi] IS NULL) OR ([diachi] = @Original_diachi)) AND ((@IsNull_dienthoai = 1 AND [dienthoai] IS NULL) OR ([dienthoai] = @Original_dienthoai)) AND ((@IsNull_fax = 1 AND [fax] IS NULL) OR ([fax] = @Original_fax)) AND ((@IsNull_email = 1 AND [email] IS NULL) OR ([email] = @Original_email)) AND ([trangthai] = @Original_trangthai) AND ([id] = @Original_id))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_diachi" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="diachi" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_diachi" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="diachi" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_dienthoai" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="dienthoai" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_dienthoai" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="dienthoai" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_fax" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="fax" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_fax" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="fax" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_email" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="email" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_email" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="email" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_trangthai" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="trangthai" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[dmchinhanh] ([ma], [ten], [diachi], [dienthoai], [fax], [email], [trangthai]) VALUES (@ma, @ten, @diachi, @dienthoai, @fax, @email, @trangthai);
SELECT ma, ten, diachi, dienthoai, fax, email, trangthai, id FROM dmchinhanh WHERE (id = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@diachi" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="diachi" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@dienthoai" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="dienthoai" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@fax" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="fax" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@email" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="email" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@trangthai" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="trangthai" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT ma, ten, diachi, dienthoai, fax, email, trangthai, id FROM dbo.dmchinhanh</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[dmchinhanh] SET [ma] = @ma, [ten] = @ten, [diachi] = @diachi, [dienthoai] = @dienthoai, [fax] = @fax, [email] = @email, [trangthai] = @trangthai WHERE (([ma] = @Original_ma) AND ([ten] = @Original_ten) AND ((@IsNull_diachi = 1 AND [diachi] IS NULL) OR ([diachi] = @Original_diachi)) AND ((@IsNull_dienthoai = 1 AND [dienthoai] IS NULL) OR ([dienthoai] = @Original_dienthoai)) AND ((@IsNull_fax = 1 AND [fax] IS NULL) OR ([fax] = @Original_fax)) AND ((@IsNull_email = 1 AND [email] IS NULL) OR ([email] = @Original_email)) AND ([trangthai] = @Original_trangthai) AND ([id] = @Original_id));
SELECT ma, ten, diachi, dienthoai, fax, email, trangthai, id FROM dmchinhanh WHERE (id = @id)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@diachi" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="diachi" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@dienthoai" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="dienthoai" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@fax" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="fax" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@email" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="email" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@trangthai" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="trangthai" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_diachi" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="diachi" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_diachi" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="diachi" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_dienthoai" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="dienthoai" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_dienthoai" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="dienthoai" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_fax" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="fax" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_fax" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="fax" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_email" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="email" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_email" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="email" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_trangthai" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="trangthai" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="id" ColumnName="id" DataSourceName="erpharma.dbo.dmchinhanh" DataTypeServer="numeric" DbType="Decimal" Direction="Input" ParameterName="@id" Precision="18" ProviderType="Decimal" Scale="0" Size="9" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ma" DataSetColumn="ma" />
              <Mapping SourceColumn="ten" DataSetColumn="ten" />
              <Mapping SourceColumn="diachi" DataSetColumn="diachi" />
              <Mapping SourceColumn="dienthoai" DataSetColumn="dienthoai" />
              <Mapping SourceColumn="fax" DataSetColumn="fax" />
              <Mapping SourceColumn="email" DataSetColumn="email" />
              <Mapping SourceColumn="trangthai" DataSetColumn="trangthai" />
              <Mapping SourceColumn="id" DataSetColumn="id" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="dmdvthamgluongTableAdapter" GeneratorDataComponentClassName="dmdvthamgluongTableAdapter" Name="dmdvthamgluong" UserDataComponentName="dmdvthamgluongTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="erpharmaConnectionString (MySettings)" DbObjectName="erpharma.dbo.dmdvthamgluong" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[dmdvthamgluong] WHERE (([ma] = @Original_ma) AND ([ten] = @Original_ten) AND ([dvtquidoi] = @Original_dvtquidoi) AND ((@IsNull_chinhanh = 1 AND [chinhanh] IS NULL) OR ([chinhanh] = @Original_chinhanh)) AND ([tinhtrang] = @Original_tinhtrang) AND ([id] = @Original_id))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_dvtquidoi" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="dvtquidoi" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chinhanh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[dmdvthamgluong] ([ma], [ten], [dvtquidoi], [chinhanh], [tinhtrang]) VALUES (@ma, @ten, @dvtquidoi, @chinhanh, @tinhtrang);
SELECT ma, ten, dvtquidoi, chinhanh, tinhtrang, id FROM dmdvthamgluong WHERE (id = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@dvtquidoi" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="dvtquidoi" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT ma, ten, dvtquidoi, chinhanh, tinhtrang, id FROM dbo.dmdvthamgluong</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[dmdvthamgluong] SET [ma] = @ma, [ten] = @ten, [dvtquidoi] = @dvtquidoi, [chinhanh] = @chinhanh, [tinhtrang] = @tinhtrang WHERE (([ma] = @Original_ma) AND ([ten] = @Original_ten) AND ([dvtquidoi] = @Original_dvtquidoi) AND ((@IsNull_chinhanh = 1 AND [chinhanh] IS NULL) OR ([chinhanh] = @Original_chinhanh)) AND ([tinhtrang] = @Original_tinhtrang) AND ([id] = @Original_id));
SELECT ma, ten, dvtquidoi, chinhanh, tinhtrang, id FROM dmdvthamgluong WHERE (id = @id)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@dvtquidoi" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="dvtquidoi" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_dvtquidoi" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="dvtquidoi" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chinhanh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="id" ColumnName="id" DataSourceName="erpharma.dbo.dmdvthamgluong" DataTypeServer="decimal" DbType="Decimal" Direction="Input" ParameterName="@id" Precision="18" ProviderType="Decimal" Scale="0" Size="9" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ma" DataSetColumn="ma" />
              <Mapping SourceColumn="ten" DataSetColumn="ten" />
              <Mapping SourceColumn="dvtquidoi" DataSetColumn="dvtquidoi" />
              <Mapping SourceColumn="chinhanh" DataSetColumn="chinhanh" />
              <Mapping SourceColumn="tinhtrang" DataSetColumn="tinhtrang" />
              <Mapping SourceColumn="id" DataSetColumn="id" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="dmhotrotrunotudongTableAdapter" GeneratorDataComponentClassName="dmhotrotrunotudongTableAdapter" Name="dmhotrotrunotudong" UserDataComponentName="dmhotrotrunotudongTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="erpharmaConnectionString (MySettings)" DbObjectName="erpharma.dbo.dmhotrotrunotudong" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[dmhotrotrunotudong] WHERE (([ma] = @Original_ma) AND ([ten] = @Original_ten) AND ([id] = @Original_id))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[dmhotrotrunotudong] ([ma], [ten]) VALUES (@ma, @ten);
SELECT ma, ten, id FROM dmhotrotrunotudong WHERE (id = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT ma, ten, id FROM dbo.dmhotrotrunotudong</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[dmhotrotrunotudong] SET [ma] = @ma, [ten] = @ten WHERE (([ma] = @Original_ma) AND ([ten] = @Original_ten) AND ([id] = @Original_id));
SELECT ma, ten, id FROM dmhotrotrunotudong WHERE (id = @id)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="id" ColumnName="id" DataSourceName="erpharma.dbo.dmhotrotrunotudong" DataTypeServer="decimal" DbType="Decimal" Direction="Input" ParameterName="@id" Precision="18" ProviderType="Decimal" Scale="0" Size="9" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ma" DataSetColumn="ma" />
              <Mapping SourceColumn="ten" DataSetColumn="ten" />
              <Mapping SourceColumn="id" DataSetColumn="id" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="dmkhachhangTableAdapter" GeneratorDataComponentClassName="dmkhachhangTableAdapter" Name="dmkhachhang" UserDataComponentName="dmkhachhangTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="erpharmaConnectionString (MySettings)" DbObjectName="erpharma.dbo.dmkhachhang" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[dmkhachhang] WHERE (([ma] = @Original_ma) AND ([ten] = @Original_ten) AND ((@IsNull_mataikhoan = 1 AND [mataikhoan] IS NULL) OR ([mataikhoan] = @Original_mataikhoan)) AND ((@IsNull_diachi = 1 AND [diachi] IS NULL) OR ([diachi] = @Original_diachi)) AND ((@IsNull_maduong = 1 AND [maduong] IS NULL) OR ([maduong] = @Original_maduong)) AND ((@IsNull_maphuong = 1 AND [maphuong] IS NULL) OR ([maphuong] = @Original_maphuong)) AND ((@IsNull_maquan = 1 AND [maquan] IS NULL) OR ([maquan] = @Original_maquan)) AND ((@IsNull_phanloai = 1 AND [phanloai] IS NULL) OR ([phanloai] = @Original_phanloai)) AND ((@IsNull_loaikh = 1 AND [loaikh] IS NULL) OR ([loaikh] = @Original_loaikh)) AND ((@IsNull_ghichu = 1 AND [ghichu] IS NULL) OR ([ghichu] = @Original_ghichu)) AND ((@IsNull_manhomkh = 1 AND [manhomkh] IS NULL) OR ([manhomkh] = @Original_manhomkh)) AND ((@IsNull_machinhanh = 1 AND [machinhanh] IS NULL) OR ([machinhanh] = @Original_machinhanh)) AND ((@IsNull_dienthoai = 1 AND [dienthoai] IS NULL) OR ([dienthoai] = @Original_dienthoai)) AND ((@IsNull_masothue = 1 AND [masothue] IS NULL) OR ([masothue] = @Original_masothue)) AND ((@IsNull_tentat = 1 AND [tentat] IS NULL) OR ([tentat] = @Original_tentat)) AND ((@IsNull_matinh = 1 AND [matinh] IS NULL) OR ([matinh] = @Original_matinh)) AND ((@IsNull_tenkhuynhiemchi = 1 AND [tenkhuynhiemchi] IS NULL) OR ([tenkhuynhiemchi] = @Original_tenkhuynhiemchi)) AND ((@IsNull_daidien1 = 1 AND [daidien1] IS NULL) OR ([daidien1] = @Original_daidien1)) AND ((@IsNull_chucvu1 = 1 AND [chucvu1] IS NULL) OR ([chucvu1] = @Original_chucvu1)) AND ((@IsNull_dienthoai1 = 1 AND [dienthoai1] IS NULL) OR ([dienthoai1] = @Original_dienthoai1)) AND ((@IsNull_daidien2 = 1 AND [daidien2] IS NULL) OR ([daidien2] = @Original_daidien2)) AND ((@IsNull_chucvu2 = 1 AND [chucvu2] IS NULL) OR ([chucvu2] = @Original_chucvu2)) AND ((@IsNull_dienthoai2 = 1 AND [dienthoai2] IS NULL) OR ([dienthoai2] = @Original_dienthoai2)) AND ((@IsNull_maquocgia = 1 AND [maquocgia] IS NULL) OR ([maquocgia] = @Original_maquocgia)) AND ((@IsNull_makhuvuc = 1 AND [makhuvuc] IS NULL) OR ([makhuvuc] = @Original_makhuvuc)) AND ((@IsNull_makhcaptren = 1 AND [makhcaptren] IS NULL) OR ([makhcaptren] = @Original_makhcaptren)) AND ((@IsNull_hanmuctindung = 1 AND [hanmuctindung] IS NULL) OR ([hanmuctindung] = @Original_hanmuctindung)) AND ((@IsNull_hanthanhtoan = 1 AND [hanthanhtoan] IS NULL) OR ([hanthanhtoan] = @Original_hanthanhtoan)) AND ((@IsNull_loaihinhkd = 1 AND [loaihinhkd] IS NULL) OR ([loaihinhkd] = @Original_loaihinhkd)) AND ((@IsNull_ngayphatsinhgd = 1 AND [ngayphatsinhgd] IS NULL) OR ([ngayphatsinhgd] = @Original_ngayphatsinhgd)) AND ((@IsNull_ngaythanhlap = 1 AND [ngaythanhlap] IS NULL) OR ([ngaythanhlap] = @Original_ngaythanhlap)) AND ((@IsNull_nganhnghekd = 1 AND [nganhnghekd] IS NULL) OR ([nganhnghekd] = @Original_nganhnghekd)) AND ((@IsNull_fax = 1 AND [fax] IS NULL) OR ([fax] = @Original_fax)) AND ((@IsNull_macu = 1 AND [macu] IS NULL) OR ([macu] = @Original_macu)) AND ((@IsNull_banggia = 1 AND [banggia] IS NULL) OR ([banggia] = @Original_banggia)) AND ((@IsNull_chietkhau = 1 AND [chietkhau] IS NULL) OR ([chietkhau] = @Original_chietkhau)) AND ((@IsNull_giamgia = 1 AND [giamgia] IS NULL) OR ([giamgia] = @Original_giamgia)) AND ((@IsNull_diachigiaohang = 1 AND [diachigiaohang] IS NULL) OR ([diachigiaohang] = @Original_diachigiaohang)) AND ((@IsNull_loaivitri = 1 AND [loaivitri] IS NULL) OR ([loaivitri] = @Original_loaivitri)) AND ((@IsNull_loaietc = 1 AND [loaietc] IS NULL) OR ([loaietc] = @Original_loaietc)) AND ((@IsNull_chinhanh = 1 AND [chinhanh] IS NULL) OR ([chinhanh] = @Original_chinhanh)) AND ((@IsNull_tinhtrang = 1 AND [tinhtrang] IS NULL) OR ([tinhtrang] = @Original_tinhtrang)) AND ([id] = @Original_id))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_mataikhoan" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="mataikhoan" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_mataikhoan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="mataikhoan" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_diachi" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="diachi" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_diachi" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="diachi" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_maduong" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="maduong" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_maduong" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="maduong" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_maphuong" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="maphuong" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_maphuong" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="maphuong" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_maquan" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="maquan" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_maquan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="maquan" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_phanloai" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="phanloai" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_phanloai" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="phanloai" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_loaikh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="loaikh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_loaikh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="loaikh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ghichu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ghichu" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ghichu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ghichu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_manhomkh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="manhomkh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_manhomkh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="manhomkh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_machinhanh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="machinhanh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_machinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="machinhanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_dienthoai" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="dienthoai" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_dienthoai" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="dienthoai" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_masothue" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="masothue" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_masothue" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="masothue" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tentat" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tentat" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tentat" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tentat" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_matinh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="matinh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_matinh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="matinh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tenkhuynhiemchi" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tenkhuynhiemchi" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tenkhuynhiemchi" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tenkhuynhiemchi" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_daidien1" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="daidien1" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_daidien1" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="daidien1" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chucvu1" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chucvu1" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chucvu1" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chucvu1" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_dienthoai1" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="dienthoai1" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_dienthoai1" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="dienthoai1" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_daidien2" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="daidien2" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_daidien2" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="daidien2" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chucvu2" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chucvu2" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chucvu2" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chucvu2" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_dienthoai2" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="dienthoai2" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_dienthoai2" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="dienthoai2" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_maquocgia" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="maquocgia" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_maquocgia" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="maquocgia" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_makhuvuc" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="makhuvuc" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_makhuvuc" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="makhuvuc" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_makhcaptren" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="makhcaptren" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_makhcaptren" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="makhcaptren" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_hanmuctindung" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="hanmuctindung" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_hanmuctindung" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="hanmuctindung" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_hanthanhtoan" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="hanthanhtoan" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_hanthanhtoan" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="hanthanhtoan" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_loaihinhkd" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="loaihinhkd" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_loaihinhkd" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="loaihinhkd" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ngayphatsinhgd" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ngayphatsinhgd" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_ngayphatsinhgd" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngayphatsinhgd" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ngaythanhlap" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ngaythanhlap" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_ngaythanhlap" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngaythanhlap" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_nganhnghekd" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nganhnghekd" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_nganhnghekd" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="nganhnghekd" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_fax" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="fax" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_fax" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="fax" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_macu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="macu" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_macu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="macu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_banggia" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="banggia" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_banggia" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="banggia" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chietkhau" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chietkhau" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_chietkhau" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="chietkhau" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_giamgia" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="giamgia" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_giamgia" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="giamgia" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_diachigiaohang" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="diachigiaohang" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_diachigiaohang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="diachigiaohang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_loaivitri" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="loaivitri" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_loaivitri" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="loaivitri" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_loaietc" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="loaietc" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_loaietc" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="loaietc" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chinhanh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tinhtrang" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[dmkhachhang] ([ma], [ten], [mataikhoan], [diachi], [maduong], [maphuong], [maquan], [phanloai], [loaikh], [ghichu], [manhomkh], [machinhanh], [dienthoai], [masothue], [tentat], [matinh], [tenkhuynhiemchi], [daidien1], [chucvu1], [dienthoai1], [daidien2], [chucvu2], [dienthoai2], [maquocgia], [makhuvuc], [makhcaptren], [hanmuctindung], [hanthanhtoan], [loaihinhkd], [ngayphatsinhgd], [ngaythanhlap], [nganhnghekd], [fax], [macu], [banggia], [chietkhau], [giamgia], [diachigiaohang], [loaivitri], [loaietc], [chinhanh], [tinhtrang]) VALUES (@ma, @ten, @mataikhoan, @diachi, @maduong, @maphuong, @maquan, @phanloai, @loaikh, @ghichu, @manhomkh, @machinhanh, @dienthoai, @masothue, @tentat, @matinh, @tenkhuynhiemchi, @daidien1, @chucvu1, @dienthoai1, @daidien2, @chucvu2, @dienthoai2, @maquocgia, @makhuvuc, @makhcaptren, @hanmuctindung, @hanthanhtoan, @loaihinhkd, @ngayphatsinhgd, @ngaythanhlap, @nganhnghekd, @fax, @macu, @banggia, @chietkhau, @giamgia, @diachigiaohang, @loaivitri, @loaietc, @chinhanh, @tinhtrang);
SELECT ma, ten, mataikhoan, diachi, maduong, maphuong, maquan, phanloai, loaikh, ghichu, manhomkh, machinhanh, dienthoai, masothue, tentat, matinh, tenkhuynhiemchi, daidien1, chucvu1, dienthoai1, daidien2, chucvu2, dienthoai2, maquocgia, makhuvuc, makhcaptren, hanmuctindung, hanthanhtoan, loaihinhkd, ngayphatsinhgd, ngaythanhlap, nganhnghekd, fax, macu, banggia, chietkhau, giamgia, diachigiaohang, loaivitri, loaietc, chinhanh, tinhtrang, id FROM dmkhachhang WHERE (id = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@mataikhoan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="mataikhoan" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@diachi" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="diachi" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@maduong" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="maduong" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@maphuong" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="maphuong" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@maquan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="maquan" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@phanloai" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="phanloai" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@loaikh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="loaikh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ghichu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ghichu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@manhomkh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="manhomkh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@machinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="machinhanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@dienthoai" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="dienthoai" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@masothue" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="masothue" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tentat" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tentat" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@matinh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="matinh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tenkhuynhiemchi" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tenkhuynhiemchi" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@daidien1" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="daidien1" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chucvu1" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chucvu1" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@dienthoai1" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="dienthoai1" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@daidien2" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="daidien2" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chucvu2" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chucvu2" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@dienthoai2" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="dienthoai2" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@maquocgia" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="maquocgia" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@makhuvuc" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="makhuvuc" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@makhcaptren" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="makhcaptren" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@hanmuctindung" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="hanmuctindung" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@hanthanhtoan" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="hanthanhtoan" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@loaihinhkd" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="loaihinhkd" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ngayphatsinhgd" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngayphatsinhgd" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ngaythanhlap" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngaythanhlap" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@nganhnghekd" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="nganhnghekd" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@fax" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="fax" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@macu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="macu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@banggia" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="banggia" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@chietkhau" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="chietkhau" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@giamgia" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="giamgia" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@diachigiaohang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="diachigiaohang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@loaivitri" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="loaivitri" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@loaietc" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="loaietc" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT ma, ten, mataikhoan, diachi, maduong, maphuong, maquan, phanloai, loaikh, ghichu, manhomkh, machinhanh, dienthoai, masothue, tentat, matinh, tenkhuynhiemchi, daidien1, chucvu1, dienthoai1, daidien2, chucvu2, dienthoai2, maquocgia, makhuvuc, makhcaptren, hanmuctindung, hanthanhtoan, loaihinhkd, ngayphatsinhgd, ngaythanhlap, nganhnghekd, fax, macu, banggia, chietkhau, giamgia, diachigiaohang, loaivitri, loaietc, chinhanh, tinhtrang, id FROM dbo.dmkhachhang</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[dmkhachhang] SET [ma] = @ma, [ten] = @ten, [mataikhoan] = @mataikhoan, [diachi] = @diachi, [maduong] = @maduong, [maphuong] = @maphuong, [maquan] = @maquan, [phanloai] = @phanloai, [loaikh] = @loaikh, [ghichu] = @ghichu, [manhomkh] = @manhomkh, [machinhanh] = @machinhanh, [dienthoai] = @dienthoai, [masothue] = @masothue, [tentat] = @tentat, [matinh] = @matinh, [tenkhuynhiemchi] = @tenkhuynhiemchi, [daidien1] = @daidien1, [chucvu1] = @chucvu1, [dienthoai1] = @dienthoai1, [daidien2] = @daidien2, [chucvu2] = @chucvu2, [dienthoai2] = @dienthoai2, [maquocgia] = @maquocgia, [makhuvuc] = @makhuvuc, [makhcaptren] = @makhcaptren, [hanmuctindung] = @hanmuctindung, [hanthanhtoan] = @hanthanhtoan, [loaihinhkd] = @loaihinhkd, [ngayphatsinhgd] = @ngayphatsinhgd, [ngaythanhlap] = @ngaythanhlap, [nganhnghekd] = @nganhnghekd, [fax] = @fax, [macu] = @macu, [banggia] = @banggia, [chietkhau] = @chietkhau, [giamgia] = @giamgia, [diachigiaohang] = @diachigiaohang, [loaivitri] = @loaivitri, [loaietc] = @loaietc, [chinhanh] = @chinhanh, [tinhtrang] = @tinhtrang WHERE (([ma] = @Original_ma) AND ([ten] = @Original_ten) AND ((@IsNull_mataikhoan = 1 AND [mataikhoan] IS NULL) OR ([mataikhoan] = @Original_mataikhoan)) AND ((@IsNull_diachi = 1 AND [diachi] IS NULL) OR ([diachi] = @Original_diachi)) AND ((@IsNull_maduong = 1 AND [maduong] IS NULL) OR ([maduong] = @Original_maduong)) AND ((@IsNull_maphuong = 1 AND [maphuong] IS NULL) OR ([maphuong] = @Original_maphuong)) AND ((@IsNull_maquan = 1 AND [maquan] IS NULL) OR ([maquan] = @Original_maquan)) AND ((@IsNull_phanloai = 1 AND [phanloai] IS NULL) OR ([phanloai] = @Original_phanloai)) AND ((@IsNull_loaikh = 1 AND [loaikh] IS NULL) OR ([loaikh] = @Original_loaikh)) AND ((@IsNull_ghichu = 1 AND [ghichu] IS NULL) OR ([ghichu] = @Original_ghichu)) AND ((@IsNull_manhomkh = 1 AND [manhomkh] IS NULL) OR ([manhomkh] = @Original_manhomkh)) AND ((@IsNull_machinhanh = 1 AND [machinhanh] IS NULL) OR ([machinhanh] = @Original_machinhanh)) AND ((@IsNull_dienthoai = 1 AND [dienthoai] IS NULL) OR ([dienthoai] = @Original_dienthoai)) AND ((@IsNull_masothue = 1 AND [masothue] IS NULL) OR ([masothue] = @Original_masothue)) AND ((@IsNull_tentat = 1 AND [tentat] IS NULL) OR ([tentat] = @Original_tentat)) AND ((@IsNull_matinh = 1 AND [matinh] IS NULL) OR ([matinh] = @Original_matinh)) AND ((@IsNull_tenkhuynhiemchi = 1 AND [tenkhuynhiemchi] IS NULL) OR ([tenkhuynhiemchi] = @Original_tenkhuynhiemchi)) AND ((@IsNull_daidien1 = 1 AND [daidien1] IS NULL) OR ([daidien1] = @Original_daidien1)) AND ((@IsNull_chucvu1 = 1 AND [chucvu1] IS NULL) OR ([chucvu1] = @Original_chucvu1)) AND ((@IsNull_dienthoai1 = 1 AND [dienthoai1] IS NULL) OR ([dienthoai1] = @Original_dienthoai1)) AND ((@IsNull_daidien2 = 1 AND [daidien2] IS NULL) OR ([daidien2] = @Original_daidien2)) AND ((@IsNull_chucvu2 = 1 AND [chucvu2] IS NULL) OR ([chucvu2] = @Original_chucvu2)) AND ((@IsNull_dienthoai2 = 1 AND [dienthoai2] IS NULL) OR ([dienthoai2] = @Original_dienthoai2)) AND ((@IsNull_maquocgia = 1 AND [maquocgia] IS NULL) OR ([maquocgia] = @Original_maquocgia)) AND ((@IsNull_makhuvuc = 1 AND [makhuvuc] IS NULL) OR ([makhuvuc] = @Original_makhuvuc)) AND ((@IsNull_makhcaptren = 1 AND [makhcaptren] IS NULL) OR ([makhcaptren] = @Original_makhcaptren)) AND ((@IsNull_hanmuctindung = 1 AND [hanmuctindung] IS NULL) OR ([hanmuctindung] = @Original_hanmuctindung)) AND ((@IsNull_hanthanhtoan = 1 AND [hanthanhtoan] IS NULL) OR ([hanthanhtoan] = @Original_hanthanhtoan)) AND ((@IsNull_loaihinhkd = 1 AND [loaihinhkd] IS NULL) OR ([loaihinhkd] = @Original_loaihinhkd)) AND ((@IsNull_ngayphatsinhgd = 1 AND [ngayphatsinhgd] IS NULL) OR ([ngayphatsinhgd] = @Original_ngayphatsinhgd)) AND ((@IsNull_ngaythanhlap = 1 AND [ngaythanhlap] IS NULL) OR ([ngaythanhlap] = @Original_ngaythanhlap)) AND ((@IsNull_nganhnghekd = 1 AND [nganhnghekd] IS NULL) OR ([nganhnghekd] = @Original_nganhnghekd)) AND ((@IsNull_fax = 1 AND [fax] IS NULL) OR ([fax] = @Original_fax)) AND ((@IsNull_macu = 1 AND [macu] IS NULL) OR ([macu] = @Original_macu)) AND ((@IsNull_banggia = 1 AND [banggia] IS NULL) OR ([banggia] = @Original_banggia)) AND ((@IsNull_chietkhau = 1 AND [chietkhau] IS NULL) OR ([chietkhau] = @Original_chietkhau)) AND ((@IsNull_giamgia = 1 AND [giamgia] IS NULL) OR ([giamgia] = @Original_giamgia)) AND ((@IsNull_diachigiaohang = 1 AND [diachigiaohang] IS NULL) OR ([diachigiaohang] = @Original_diachigiaohang)) AND ((@IsNull_loaivitri = 1 AND [loaivitri] IS NULL) OR ([loaivitri] = @Original_loaivitri)) AND ((@IsNull_loaietc = 1 AND [loaietc] IS NULL) OR ([loaietc] = @Original_loaietc)) AND ((@IsNull_chinhanh = 1 AND [chinhanh] IS NULL) OR ([chinhanh] = @Original_chinhanh)) AND ((@IsNull_tinhtrang = 1 AND [tinhtrang] IS NULL) OR ([tinhtrang] = @Original_tinhtrang)) AND ([id] = @Original_id));
SELECT ma, ten, mataikhoan, diachi, maduong, maphuong, maquan, phanloai, loaikh, ghichu, manhomkh, machinhanh, dienthoai, masothue, tentat, matinh, tenkhuynhiemchi, daidien1, chucvu1, dienthoai1, daidien2, chucvu2, dienthoai2, maquocgia, makhuvuc, makhcaptren, hanmuctindung, hanthanhtoan, loaihinhkd, ngayphatsinhgd, ngaythanhlap, nganhnghekd, fax, macu, banggia, chietkhau, giamgia, diachigiaohang, loaivitri, loaietc, chinhanh, tinhtrang, id FROM dmkhachhang WHERE (id = @id)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@mataikhoan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="mataikhoan" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@diachi" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="diachi" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@maduong" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="maduong" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@maphuong" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="maphuong" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@maquan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="maquan" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@phanloai" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="phanloai" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@loaikh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="loaikh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ghichu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ghichu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@manhomkh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="manhomkh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@machinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="machinhanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@dienthoai" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="dienthoai" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@masothue" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="masothue" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tentat" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tentat" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@matinh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="matinh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tenkhuynhiemchi" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tenkhuynhiemchi" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@daidien1" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="daidien1" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chucvu1" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chucvu1" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@dienthoai1" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="dienthoai1" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@daidien2" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="daidien2" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chucvu2" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chucvu2" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@dienthoai2" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="dienthoai2" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@maquocgia" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="maquocgia" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@makhuvuc" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="makhuvuc" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@makhcaptren" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="makhcaptren" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@hanmuctindung" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="hanmuctindung" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@hanthanhtoan" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="hanthanhtoan" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@loaihinhkd" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="loaihinhkd" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ngayphatsinhgd" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngayphatsinhgd" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ngaythanhlap" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngaythanhlap" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@nganhnghekd" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="nganhnghekd" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@fax" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="fax" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@macu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="macu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@banggia" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="banggia" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@chietkhau" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="chietkhau" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@giamgia" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="giamgia" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@diachigiaohang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="diachigiaohang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@loaivitri" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="loaivitri" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@loaietc" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="loaietc" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_mataikhoan" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="mataikhoan" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_mataikhoan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="mataikhoan" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_diachi" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="diachi" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_diachi" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="diachi" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_maduong" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="maduong" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_maduong" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="maduong" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_maphuong" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="maphuong" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_maphuong" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="maphuong" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_maquan" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="maquan" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_maquan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="maquan" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_phanloai" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="phanloai" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_phanloai" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="phanloai" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_loaikh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="loaikh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_loaikh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="loaikh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ghichu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ghichu" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ghichu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ghichu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_manhomkh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="manhomkh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_manhomkh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="manhomkh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_machinhanh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="machinhanh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_machinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="machinhanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_dienthoai" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="dienthoai" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_dienthoai" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="dienthoai" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_masothue" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="masothue" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_masothue" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="masothue" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tentat" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tentat" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tentat" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tentat" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_matinh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="matinh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_matinh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="matinh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tenkhuynhiemchi" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tenkhuynhiemchi" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tenkhuynhiemchi" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tenkhuynhiemchi" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_daidien1" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="daidien1" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_daidien1" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="daidien1" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chucvu1" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chucvu1" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chucvu1" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chucvu1" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_dienthoai1" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="dienthoai1" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_dienthoai1" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="dienthoai1" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_daidien2" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="daidien2" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_daidien2" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="daidien2" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chucvu2" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chucvu2" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chucvu2" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chucvu2" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_dienthoai2" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="dienthoai2" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_dienthoai2" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="dienthoai2" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_maquocgia" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="maquocgia" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_maquocgia" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="maquocgia" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_makhuvuc" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="makhuvuc" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_makhuvuc" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="makhuvuc" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_makhcaptren" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="makhcaptren" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_makhcaptren" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="makhcaptren" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_hanmuctindung" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="hanmuctindung" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_hanmuctindung" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="hanmuctindung" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_hanthanhtoan" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="hanthanhtoan" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_hanthanhtoan" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="hanthanhtoan" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_loaihinhkd" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="loaihinhkd" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_loaihinhkd" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="loaihinhkd" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ngayphatsinhgd" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ngayphatsinhgd" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_ngayphatsinhgd" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngayphatsinhgd" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ngaythanhlap" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ngaythanhlap" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_ngaythanhlap" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngaythanhlap" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_nganhnghekd" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nganhnghekd" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_nganhnghekd" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="nganhnghekd" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_fax" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="fax" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_fax" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="fax" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_macu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="macu" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_macu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="macu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_banggia" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="banggia" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_banggia" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="banggia" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chietkhau" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chietkhau" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_chietkhau" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="chietkhau" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_giamgia" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="giamgia" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_giamgia" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="giamgia" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_diachigiaohang" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="diachigiaohang" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_diachigiaohang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="diachigiaohang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_loaivitri" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="loaivitri" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_loaivitri" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="loaivitri" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_loaietc" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="loaietc" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_loaietc" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="loaietc" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chinhanh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tinhtrang" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="id" ColumnName="id" DataSourceName="erpharma.dbo.dmkhachhang" DataTypeServer="numeric" DbType="Decimal" Direction="Input" ParameterName="@id" Precision="18" ProviderType="Decimal" Scale="0" Size="9" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ma" DataSetColumn="ma" />
              <Mapping SourceColumn="ten" DataSetColumn="ten" />
              <Mapping SourceColumn="mataikhoan" DataSetColumn="mataikhoan" />
              <Mapping SourceColumn="diachi" DataSetColumn="diachi" />
              <Mapping SourceColumn="maduong" DataSetColumn="maduong" />
              <Mapping SourceColumn="maphuong" DataSetColumn="maphuong" />
              <Mapping SourceColumn="maquan" DataSetColumn="maquan" />
              <Mapping SourceColumn="phanloai" DataSetColumn="phanloai" />
              <Mapping SourceColumn="loaikh" DataSetColumn="loaikh" />
              <Mapping SourceColumn="ghichu" DataSetColumn="ghichu" />
              <Mapping SourceColumn="manhomkh" DataSetColumn="manhomkh" />
              <Mapping SourceColumn="machinhanh" DataSetColumn="machinhanh" />
              <Mapping SourceColumn="dienthoai" DataSetColumn="dienthoai" />
              <Mapping SourceColumn="masothue" DataSetColumn="masothue" />
              <Mapping SourceColumn="tentat" DataSetColumn="tentat" />
              <Mapping SourceColumn="matinh" DataSetColumn="matinh" />
              <Mapping SourceColumn="tenkhuynhiemchi" DataSetColumn="tenkhuynhiemchi" />
              <Mapping SourceColumn="daidien1" DataSetColumn="daidien1" />
              <Mapping SourceColumn="chucvu1" DataSetColumn="chucvu1" />
              <Mapping SourceColumn="dienthoai1" DataSetColumn="dienthoai1" />
              <Mapping SourceColumn="daidien2" DataSetColumn="daidien2" />
              <Mapping SourceColumn="chucvu2" DataSetColumn="chucvu2" />
              <Mapping SourceColumn="dienthoai2" DataSetColumn="dienthoai2" />
              <Mapping SourceColumn="maquocgia" DataSetColumn="maquocgia" />
              <Mapping SourceColumn="makhuvuc" DataSetColumn="makhuvuc" />
              <Mapping SourceColumn="makhcaptren" DataSetColumn="makhcaptren" />
              <Mapping SourceColumn="hanmuctindung" DataSetColumn="hanmuctindung" />
              <Mapping SourceColumn="hanthanhtoan" DataSetColumn="hanthanhtoan" />
              <Mapping SourceColumn="loaihinhkd" DataSetColumn="loaihinhkd" />
              <Mapping SourceColumn="ngayphatsinhgd" DataSetColumn="ngayphatsinhgd" />
              <Mapping SourceColumn="ngaythanhlap" DataSetColumn="ngaythanhlap" />
              <Mapping SourceColumn="nganhnghekd" DataSetColumn="nganhnghekd" />
              <Mapping SourceColumn="fax" DataSetColumn="fax" />
              <Mapping SourceColumn="macu" DataSetColumn="macu" />
              <Mapping SourceColumn="banggia" DataSetColumn="banggia" />
              <Mapping SourceColumn="chietkhau" DataSetColumn="chietkhau" />
              <Mapping SourceColumn="giamgia" DataSetColumn="giamgia" />
              <Mapping SourceColumn="diachigiaohang" DataSetColumn="diachigiaohang" />
              <Mapping SourceColumn="loaivitri" DataSetColumn="loaivitri" />
              <Mapping SourceColumn="loaietc" DataSetColumn="loaietc" />
              <Mapping SourceColumn="chinhanh" DataSetColumn="chinhanh" />
              <Mapping SourceColumn="tinhtrang" DataSetColumn="tinhtrang" />
              <Mapping SourceColumn="id" DataSetColumn="id" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="dmkheuocvayTableAdapter" GeneratorDataComponentClassName="dmkheuocvayTableAdapter" Name="dmkheuocvay" UserDataComponentName="dmkheuocvayTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="erpharmaConnectionString (MySettings)" DbObjectName="erpharma.dbo.dmkheuocvay" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[dmkheuocvay] WHERE (([ma] = @Original_ma) AND ((@IsNull_taikhoannganhang = 1 AND [taikhoannganhang] IS NULL) OR ([taikhoannganhang] = @Original_taikhoannganhang)) AND ([manganhang] = @Original_manganhang) AND ((@IsNull_sokheuoc = 1 AND [sokheuoc] IS NULL) OR ([sokheuoc] = @Original_sokheuoc)) AND ((@IsNull_loaitien = 1 AND [loaitien] IS NULL) OR ([loaitien] = @Original_loaitien)) AND ((@IsNull_ngayvay = 1 AND [ngayvay] IS NULL) OR ([ngayvay] = @Original_ngayvay)) AND ((@IsNull_kythanhtoan = 1 AND [kythanhtoan] IS NULL) OR ([kythanhtoan] = @Original_kythanhtoan)) AND ((@IsNull_laisuat = 1 AND [laisuat] IS NULL) OR ([laisuat] = @Original_laisuat)) AND ((@IsNull_hanthanhtoan = 1 AND [hanthanhtoan] IS NULL) OR ([hanthanhtoan] = @Original_hanthanhtoan)) AND ((@IsNull_ghichu = 1 AND [ghichu] IS NULL) OR ([ghichu] = @Original_ghichu)) AND ((@IsNull_sohopdongtindung = 1 AND [sohopdongtindung] IS NULL) OR ([sohopdongtindung] = @Original_sohopdongtindung)) AND ((@IsNull_sotienhopdong = 1 AND [sotienhopdong] IS NULL) OR ([sotienhopdong] = @Original_sotienhopdong)) AND ((@IsNull_phuongthucrutvon = 1 AND [phuongthucrutvon] IS NULL) OR ([phuongthucrutvon] = @Original_phuongthucrutvon)) AND ((@IsNull_chungtukemtheo = 1 AND [chungtukemtheo] IS NULL) OR ([chungtukemtheo] = @Original_chungtukemtheo)) AND ((@IsNull_sochungtu = 1 AND [sochungtu] IS NULL) OR ([sochungtu] = @Original_sochungtu)) AND ((@IsNull_tygia = 1 AND [tygia] IS NULL) OR ([tygia] = @Original_tygia)) AND ((@IsNull_VND = 1 AND [VND] IS NULL) OR ([VND] = @Original_VND)) AND ((@IsNull_chinhanh = 1 AND [chinhanh] IS NULL) OR ([chinhanh] = @Original_chinhanh)) AND ([tinhtrang] = @Original_tinhtrang) AND ([id] = @Original_id))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_taikhoannganhang" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="taikhoannganhang" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_taikhoannganhang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="taikhoannganhang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_manganhang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="manganhang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_sokheuoc" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="sokheuoc" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_sokheuoc" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sokheuoc" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_loaitien" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="loaitien" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_loaitien" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="loaitien" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ngayvay" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ngayvay" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_ngayvay" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngayvay" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_kythanhtoan" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="kythanhtoan" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_kythanhtoan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="kythanhtoan" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_laisuat" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="laisuat" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_laisuat" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="laisuat" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_hanthanhtoan" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="hanthanhtoan" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_hanthanhtoan" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="hanthanhtoan" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ghichu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ghichu" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ghichu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ghichu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_sohopdongtindung" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="sohopdongtindung" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_sohopdongtindung" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sohopdongtindung" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_sotienhopdong" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="sotienhopdong" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_sotienhopdong" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="sotienhopdong" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_phuongthucrutvon" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="phuongthucrutvon" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_phuongthucrutvon" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="phuongthucrutvon" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chungtukemtheo" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chungtukemtheo" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chungtukemtheo" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chungtukemtheo" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_sochungtu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="sochungtu" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_sochungtu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sochungtu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tygia" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tygia" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_tygia" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="tygia" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_VND" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="VND" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_VND" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="VND" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chinhanh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[dmkheuocvay] ([ma], [taikhoannganhang], [manganhang], [sokheuoc], [loaitien], [ngayvay], [kythanhtoan], [laisuat], [hanthanhtoan], [ghichu], [sohopdongtindung], [sotienhopdong], [phuongthucrutvon], [chungtukemtheo], [sochungtu], [tygia], [VND], [chinhanh], [tinhtrang]) VALUES (@ma, @taikhoannganhang, @manganhang, @sokheuoc, @loaitien, @ngayvay, @kythanhtoan, @laisuat, @hanthanhtoan, @ghichu, @sohopdongtindung, @sotienhopdong, @phuongthucrutvon, @chungtukemtheo, @sochungtu, @tygia, @VND, @chinhanh, @tinhtrang);
SELECT ma, taikhoannganhang, manganhang, sokheuoc, loaitien, ngayvay, kythanhtoan, laisuat, hanthanhtoan, ghichu, sohopdongtindung, sotienhopdong, phuongthucrutvon, chungtukemtheo, sochungtu, tygia, VND, chinhanh, tinhtrang, id FROM dmkheuocvay WHERE (id = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@taikhoannganhang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="taikhoannganhang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@manganhang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="manganhang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@sokheuoc" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sokheuoc" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@loaitien" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="loaitien" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ngayvay" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngayvay" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@kythanhtoan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="kythanhtoan" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@laisuat" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="laisuat" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@hanthanhtoan" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="hanthanhtoan" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ghichu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ghichu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@sohopdongtindung" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sohopdongtindung" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@sotienhopdong" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="sotienhopdong" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@phuongthucrutvon" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="phuongthucrutvon" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chungtukemtheo" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chungtukemtheo" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@sochungtu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sochungtu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@tygia" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="tygia" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@VND" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="VND" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT ma, taikhoannganhang, manganhang, sokheuoc, loaitien, ngayvay, kythanhtoan, laisuat, hanthanhtoan, ghichu, sohopdongtindung, sotienhopdong, phuongthucrutvon, chungtukemtheo, sochungtu, tygia, VND, chinhanh, tinhtrang, id FROM dbo.dmkheuocvay</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[dmkheuocvay] SET [ma] = @ma, [taikhoannganhang] = @taikhoannganhang, [manganhang] = @manganhang, [sokheuoc] = @sokheuoc, [loaitien] = @loaitien, [ngayvay] = @ngayvay, [kythanhtoan] = @kythanhtoan, [laisuat] = @laisuat, [hanthanhtoan] = @hanthanhtoan, [ghichu] = @ghichu, [sohopdongtindung] = @sohopdongtindung, [sotienhopdong] = @sotienhopdong, [phuongthucrutvon] = @phuongthucrutvon, [chungtukemtheo] = @chungtukemtheo, [sochungtu] = @sochungtu, [tygia] = @tygia, [VND] = @VND, [chinhanh] = @chinhanh, [tinhtrang] = @tinhtrang WHERE (([ma] = @Original_ma) AND ((@IsNull_taikhoannganhang = 1 AND [taikhoannganhang] IS NULL) OR ([taikhoannganhang] = @Original_taikhoannganhang)) AND ([manganhang] = @Original_manganhang) AND ((@IsNull_sokheuoc = 1 AND [sokheuoc] IS NULL) OR ([sokheuoc] = @Original_sokheuoc)) AND ((@IsNull_loaitien = 1 AND [loaitien] IS NULL) OR ([loaitien] = @Original_loaitien)) AND ((@IsNull_ngayvay = 1 AND [ngayvay] IS NULL) OR ([ngayvay] = @Original_ngayvay)) AND ((@IsNull_kythanhtoan = 1 AND [kythanhtoan] IS NULL) OR ([kythanhtoan] = @Original_kythanhtoan)) AND ((@IsNull_laisuat = 1 AND [laisuat] IS NULL) OR ([laisuat] = @Original_laisuat)) AND ((@IsNull_hanthanhtoan = 1 AND [hanthanhtoan] IS NULL) OR ([hanthanhtoan] = @Original_hanthanhtoan)) AND ((@IsNull_ghichu = 1 AND [ghichu] IS NULL) OR ([ghichu] = @Original_ghichu)) AND ((@IsNull_sohopdongtindung = 1 AND [sohopdongtindung] IS NULL) OR ([sohopdongtindung] = @Original_sohopdongtindung)) AND ((@IsNull_sotienhopdong = 1 AND [sotienhopdong] IS NULL) OR ([sotienhopdong] = @Original_sotienhopdong)) AND ((@IsNull_phuongthucrutvon = 1 AND [phuongthucrutvon] IS NULL) OR ([phuongthucrutvon] = @Original_phuongthucrutvon)) AND ((@IsNull_chungtukemtheo = 1 AND [chungtukemtheo] IS NULL) OR ([chungtukemtheo] = @Original_chungtukemtheo)) AND ((@IsNull_sochungtu = 1 AND [sochungtu] IS NULL) OR ([sochungtu] = @Original_sochungtu)) AND ((@IsNull_tygia = 1 AND [tygia] IS NULL) OR ([tygia] = @Original_tygia)) AND ((@IsNull_VND = 1 AND [VND] IS NULL) OR ([VND] = @Original_VND)) AND ((@IsNull_chinhanh = 1 AND [chinhanh] IS NULL) OR ([chinhanh] = @Original_chinhanh)) AND ([tinhtrang] = @Original_tinhtrang) AND ([id] = @Original_id));
SELECT ma, taikhoannganhang, manganhang, sokheuoc, loaitien, ngayvay, kythanhtoan, laisuat, hanthanhtoan, ghichu, sohopdongtindung, sotienhopdong, phuongthucrutvon, chungtukemtheo, sochungtu, tygia, VND, chinhanh, tinhtrang, id FROM dmkheuocvay WHERE (id = @id)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@taikhoannganhang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="taikhoannganhang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@manganhang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="manganhang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@sokheuoc" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sokheuoc" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@loaitien" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="loaitien" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ngayvay" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngayvay" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@kythanhtoan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="kythanhtoan" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@laisuat" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="laisuat" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@hanthanhtoan" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="hanthanhtoan" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ghichu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ghichu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@sohopdongtindung" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sohopdongtindung" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@sotienhopdong" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="sotienhopdong" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@phuongthucrutvon" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="phuongthucrutvon" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chungtukemtheo" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chungtukemtheo" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@sochungtu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sochungtu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@tygia" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="tygia" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@VND" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="VND" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_taikhoannganhang" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="taikhoannganhang" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_taikhoannganhang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="taikhoannganhang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_manganhang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="manganhang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_sokheuoc" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="sokheuoc" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_sokheuoc" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sokheuoc" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_loaitien" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="loaitien" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_loaitien" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="loaitien" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ngayvay" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ngayvay" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_ngayvay" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngayvay" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_kythanhtoan" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="kythanhtoan" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_kythanhtoan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="kythanhtoan" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_laisuat" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="laisuat" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_laisuat" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="laisuat" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_hanthanhtoan" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="hanthanhtoan" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_hanthanhtoan" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="hanthanhtoan" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ghichu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ghichu" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ghichu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ghichu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_sohopdongtindung" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="sohopdongtindung" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_sohopdongtindung" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sohopdongtindung" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_sotienhopdong" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="sotienhopdong" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_sotienhopdong" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="sotienhopdong" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_phuongthucrutvon" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="phuongthucrutvon" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_phuongthucrutvon" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="phuongthucrutvon" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chungtukemtheo" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chungtukemtheo" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chungtukemtheo" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chungtukemtheo" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_sochungtu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="sochungtu" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_sochungtu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sochungtu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tygia" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tygia" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_tygia" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="tygia" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_VND" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="VND" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_VND" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="VND" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chinhanh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="id" ColumnName="id" DataSourceName="erpharma.dbo.dmkheuocvay" DataTypeServer="decimal" DbType="Decimal" Direction="Input" ParameterName="@id" Precision="18" ProviderType="Decimal" Scale="0" Size="9" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ma" DataSetColumn="ma" />
              <Mapping SourceColumn="taikhoannganhang" DataSetColumn="taikhoannganhang" />
              <Mapping SourceColumn="manganhang" DataSetColumn="manganhang" />
              <Mapping SourceColumn="sokheuoc" DataSetColumn="sokheuoc" />
              <Mapping SourceColumn="loaitien" DataSetColumn="loaitien" />
              <Mapping SourceColumn="ngayvay" DataSetColumn="ngayvay" />
              <Mapping SourceColumn="kythanhtoan" DataSetColumn="kythanhtoan" />
              <Mapping SourceColumn="laisuat" DataSetColumn="laisuat" />
              <Mapping SourceColumn="hanthanhtoan" DataSetColumn="hanthanhtoan" />
              <Mapping SourceColumn="ghichu" DataSetColumn="ghichu" />
              <Mapping SourceColumn="sohopdongtindung" DataSetColumn="sohopdongtindung" />
              <Mapping SourceColumn="sotienhopdong" DataSetColumn="sotienhopdong" />
              <Mapping SourceColumn="phuongthucrutvon" DataSetColumn="phuongthucrutvon" />
              <Mapping SourceColumn="chungtukemtheo" DataSetColumn="chungtukemtheo" />
              <Mapping SourceColumn="sochungtu" DataSetColumn="sochungtu" />
              <Mapping SourceColumn="tygia" DataSetColumn="tygia" />
              <Mapping SourceColumn="VND" DataSetColumn="VND" />
              <Mapping SourceColumn="chinhanh" DataSetColumn="chinhanh" />
              <Mapping SourceColumn="tinhtrang" DataSetColumn="tinhtrang" />
              <Mapping SourceColumn="id" DataSetColumn="id" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="dmkhoTableAdapter" GeneratorDataComponentClassName="dmkhoTableAdapter" Name="dmkho" UserDataComponentName="dmkhoTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="erpharmaConnectionString (MySettings)" DbObjectName="erpharma.dbo.dmkho" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[dmkho] WHERE (([ma] = @Original_ma) AND ([ten] = @Original_ten) AND ((@IsNull_diachi = 1 AND [diachi] IS NULL) OR ([diachi] = @Original_diachi)) AND ((@IsNull_dienthoai = 1 AND [dienthoai] IS NULL) OR ([dienthoai] = @Original_dienthoai)) AND ((@IsNull_dientich = 1 AND [dientich] IS NULL) OR ([dientich] = @Original_dientich)) AND ((@IsNull_diengiai = 1 AND [diengiai] IS NULL) OR ([diengiai] = @Original_diengiai)) AND ((@IsNull_machinhanh = 1 AND [machinhanh] IS NULL) OR ([machinhanh] = @Original_machinhanh)) AND ((@IsNull_makhuvuc = 1 AND [makhuvuc] IS NULL) OR ([makhuvuc] = @Original_makhuvuc)) AND ((@IsNull_loaikho = 1 AND [loaikho] IS NULL) OR ([loaikho] = @Original_loaikho)) AND ((@IsNull_loaichungtunhap = 1 AND [loaichungtunhap] IS NULL) OR ([loaichungtunhap] = @Original_loaichungtunhap)) AND ((@IsNull_loaichungtuxuat = 1 AND [loaichungtuxuat] IS NULL) OR ([loaichungtuxuat] = @Original_loaichungtuxuat)) AND ((@IsNull_taikhoankho = 1 AND [taikhoankho] IS NULL) OR ([taikhoankho] = @Original_taikhoankho)) AND ((@IsNull_taikhoangiavon = 1 AND [taikhoangiavon] IS NULL) OR ([taikhoangiavon] = @Original_taikhoangiavon)) AND ((@IsNull_dunglocator = 1 AND [dunglocator] IS NULL) OR ([dunglocator] = @Original_dunglocator)) AND ((@IsNull_khokhonggia = 1 AND [khokhonggia] IS NULL) OR ([khokhonggia] = @Original_khokhonggia)) AND ((@IsNull_phuongphaptinhgia = 1 AND [phuongphaptinhgia] IS NULL) OR ([phuongphaptinhgia] = @Original_phuongphaptinhgia)) AND ((@IsNull_khoxuong = 1 AND [khoxuong] IS NULL) OR ([khoxuong] = @Original_khoxuong)) AND ((@IsNull_taikhoandoanhthu = 1 AND [taikhoandoanhthu] IS NULL) OR ([taikhoandoanhthu] = @Original_taikhoandoanhthu)) AND ((@IsNull_chinhanh = 1 AND [chinhanh] IS NULL) OR ([chinhanh] = @Original_chinhanh)) AND ([tinhtrang] = @Original_tinhtrang) AND ([id] = @Original_id))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_diachi" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="diachi" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_diachi" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="diachi" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_dienthoai" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="dienthoai" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_dienthoai" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="dienthoai" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_dientich" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="dientich" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_dientich" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="dientich" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_diengiai" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="diengiai" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_diengiai" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="diengiai" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_machinhanh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="machinhanh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_machinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="machinhanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_makhuvuc" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="makhuvuc" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_makhuvuc" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="makhuvuc" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_loaikho" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="loaikho" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_loaikho" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="loaikho" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_loaichungtunhap" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="loaichungtunhap" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_loaichungtunhap" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="loaichungtunhap" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_loaichungtuxuat" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="loaichungtuxuat" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_loaichungtuxuat" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="loaichungtuxuat" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_taikhoankho" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="taikhoankho" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_taikhoankho" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="taikhoankho" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_taikhoangiavon" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="taikhoangiavon" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_taikhoangiavon" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="taikhoangiavon" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_dunglocator" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="dunglocator" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_dunglocator" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="dunglocator" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_khokhonggia" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="khokhonggia" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_khokhonggia" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="khokhonggia" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_phuongphaptinhgia" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="phuongphaptinhgia" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_phuongphaptinhgia" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="phuongphaptinhgia" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_khoxuong" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="khoxuong" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_khoxuong" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="khoxuong" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_taikhoandoanhthu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="taikhoandoanhthu" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_taikhoandoanhthu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="taikhoandoanhthu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chinhanh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[dmkho] ([ma], [ten], [diachi], [dienthoai], [dientich], [diengiai], [machinhanh], [makhuvuc], [loaikho], [loaichungtunhap], [loaichungtuxuat], [taikhoankho], [taikhoangiavon], [dunglocator], [khokhonggia], [phuongphaptinhgia], [khoxuong], [taikhoandoanhthu], [chinhanh], [tinhtrang]) VALUES (@ma, @ten, @diachi, @dienthoai, @dientich, @diengiai, @machinhanh, @makhuvuc, @loaikho, @loaichungtunhap, @loaichungtuxuat, @taikhoankho, @taikhoangiavon, @dunglocator, @khokhonggia, @phuongphaptinhgia, @khoxuong, @taikhoandoanhthu, @chinhanh, @tinhtrang);
SELECT ma, ten, diachi, dienthoai, dientich, diengiai, machinhanh, makhuvuc, loaikho, loaichungtunhap, loaichungtuxuat, taikhoankho, taikhoangiavon, dunglocator, khokhonggia, phuongphaptinhgia, khoxuong, taikhoandoanhthu, chinhanh, tinhtrang, id FROM dmkho WHERE (id = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@diachi" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="diachi" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@dienthoai" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="dienthoai" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@dientich" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="dientich" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@diengiai" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="diengiai" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@machinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="machinhanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@makhuvuc" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="makhuvuc" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@loaikho" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="loaikho" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@loaichungtunhap" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="loaichungtunhap" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@loaichungtuxuat" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="loaichungtuxuat" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@taikhoankho" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="taikhoankho" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@taikhoangiavon" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="taikhoangiavon" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@dunglocator" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="dunglocator" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@khokhonggia" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="khokhonggia" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@phuongphaptinhgia" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="phuongphaptinhgia" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@khoxuong" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="khoxuong" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@taikhoandoanhthu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="taikhoandoanhthu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT ma, ten, diachi, dienthoai, dientich, diengiai, machinhanh, makhuvuc, loaikho, loaichungtunhap, loaichungtuxuat, taikhoankho, taikhoangiavon, dunglocator, khokhonggia, phuongphaptinhgia, khoxuong, taikhoandoanhthu, chinhanh, tinhtrang, id FROM dbo.dmkho</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[dmkho] SET [ma] = @ma, [ten] = @ten, [diachi] = @diachi, [dienthoai] = @dienthoai, [dientich] = @dientich, [diengiai] = @diengiai, [machinhanh] = @machinhanh, [makhuvuc] = @makhuvuc, [loaikho] = @loaikho, [loaichungtunhap] = @loaichungtunhap, [loaichungtuxuat] = @loaichungtuxuat, [taikhoankho] = @taikhoankho, [taikhoangiavon] = @taikhoangiavon, [dunglocator] = @dunglocator, [khokhonggia] = @khokhonggia, [phuongphaptinhgia] = @phuongphaptinhgia, [khoxuong] = @khoxuong, [taikhoandoanhthu] = @taikhoandoanhthu, [chinhanh] = @chinhanh, [tinhtrang] = @tinhtrang WHERE (([ma] = @Original_ma) AND ([ten] = @Original_ten) AND ((@IsNull_diachi = 1 AND [diachi] IS NULL) OR ([diachi] = @Original_diachi)) AND ((@IsNull_dienthoai = 1 AND [dienthoai] IS NULL) OR ([dienthoai] = @Original_dienthoai)) AND ((@IsNull_dientich = 1 AND [dientich] IS NULL) OR ([dientich] = @Original_dientich)) AND ((@IsNull_diengiai = 1 AND [diengiai] IS NULL) OR ([diengiai] = @Original_diengiai)) AND ((@IsNull_machinhanh = 1 AND [machinhanh] IS NULL) OR ([machinhanh] = @Original_machinhanh)) AND ((@IsNull_makhuvuc = 1 AND [makhuvuc] IS NULL) OR ([makhuvuc] = @Original_makhuvuc)) AND ((@IsNull_loaikho = 1 AND [loaikho] IS NULL) OR ([loaikho] = @Original_loaikho)) AND ((@IsNull_loaichungtunhap = 1 AND [loaichungtunhap] IS NULL) OR ([loaichungtunhap] = @Original_loaichungtunhap)) AND ((@IsNull_loaichungtuxuat = 1 AND [loaichungtuxuat] IS NULL) OR ([loaichungtuxuat] = @Original_loaichungtuxuat)) AND ((@IsNull_taikhoankho = 1 AND [taikhoankho] IS NULL) OR ([taikhoankho] = @Original_taikhoankho)) AND ((@IsNull_taikhoangiavon = 1 AND [taikhoangiavon] IS NULL) OR ([taikhoangiavon] = @Original_taikhoangiavon)) AND ((@IsNull_dunglocator = 1 AND [dunglocator] IS NULL) OR ([dunglocator] = @Original_dunglocator)) AND ((@IsNull_khokhonggia = 1 AND [khokhonggia] IS NULL) OR ([khokhonggia] = @Original_khokhonggia)) AND ((@IsNull_phuongphaptinhgia = 1 AND [phuongphaptinhgia] IS NULL) OR ([phuongphaptinhgia] = @Original_phuongphaptinhgia)) AND ((@IsNull_khoxuong = 1 AND [khoxuong] IS NULL) OR ([khoxuong] = @Original_khoxuong)) AND ((@IsNull_taikhoandoanhthu = 1 AND [taikhoandoanhthu] IS NULL) OR ([taikhoandoanhthu] = @Original_taikhoandoanhthu)) AND ((@IsNull_chinhanh = 1 AND [chinhanh] IS NULL) OR ([chinhanh] = @Original_chinhanh)) AND ([tinhtrang] = @Original_tinhtrang) AND ([id] = @Original_id));
SELECT ma, ten, diachi, dienthoai, dientich, diengiai, machinhanh, makhuvuc, loaikho, loaichungtunhap, loaichungtuxuat, taikhoankho, taikhoangiavon, dunglocator, khokhonggia, phuongphaptinhgia, khoxuong, taikhoandoanhthu, chinhanh, tinhtrang, id FROM dmkho WHERE (id = @id)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@diachi" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="diachi" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@dienthoai" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="dienthoai" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@dientich" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="dientich" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@diengiai" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="diengiai" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@machinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="machinhanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@makhuvuc" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="makhuvuc" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@loaikho" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="loaikho" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@loaichungtunhap" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="loaichungtunhap" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@loaichungtuxuat" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="loaichungtuxuat" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@taikhoankho" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="taikhoankho" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@taikhoangiavon" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="taikhoangiavon" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@dunglocator" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="dunglocator" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@khokhonggia" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="khokhonggia" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@phuongphaptinhgia" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="phuongphaptinhgia" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@khoxuong" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="khoxuong" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@taikhoandoanhthu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="taikhoandoanhthu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_diachi" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="diachi" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_diachi" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="diachi" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_dienthoai" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="dienthoai" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_dienthoai" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="dienthoai" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_dientich" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="dientich" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_dientich" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="dientich" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_diengiai" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="diengiai" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_diengiai" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="diengiai" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_machinhanh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="machinhanh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_machinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="machinhanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_makhuvuc" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="makhuvuc" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_makhuvuc" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="makhuvuc" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_loaikho" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="loaikho" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_loaikho" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="loaikho" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_loaichungtunhap" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="loaichungtunhap" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_loaichungtunhap" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="loaichungtunhap" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_loaichungtuxuat" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="loaichungtuxuat" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_loaichungtuxuat" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="loaichungtuxuat" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_taikhoankho" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="taikhoankho" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_taikhoankho" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="taikhoankho" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_taikhoangiavon" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="taikhoangiavon" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_taikhoangiavon" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="taikhoangiavon" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_dunglocator" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="dunglocator" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_dunglocator" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="dunglocator" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_khokhonggia" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="khokhonggia" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_khokhonggia" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="khokhonggia" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_phuongphaptinhgia" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="phuongphaptinhgia" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_phuongphaptinhgia" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="phuongphaptinhgia" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_khoxuong" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="khoxuong" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_khoxuong" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="khoxuong" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_taikhoandoanhthu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="taikhoandoanhthu" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_taikhoandoanhthu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="taikhoandoanhthu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chinhanh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="id" ColumnName="id" DataSourceName="erpharma.dbo.dmkho" DataTypeServer="decimal" DbType="Decimal" Direction="Input" ParameterName="@id" Precision="18" ProviderType="Decimal" Scale="0" Size="9" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ma" DataSetColumn="ma" />
              <Mapping SourceColumn="ten" DataSetColumn="ten" />
              <Mapping SourceColumn="diachi" DataSetColumn="diachi" />
              <Mapping SourceColumn="dienthoai" DataSetColumn="dienthoai" />
              <Mapping SourceColumn="dientich" DataSetColumn="dientich" />
              <Mapping SourceColumn="diengiai" DataSetColumn="diengiai" />
              <Mapping SourceColumn="machinhanh" DataSetColumn="machinhanh" />
              <Mapping SourceColumn="makhuvuc" DataSetColumn="makhuvuc" />
              <Mapping SourceColumn="loaikho" DataSetColumn="loaikho" />
              <Mapping SourceColumn="loaichungtunhap" DataSetColumn="loaichungtunhap" />
              <Mapping SourceColumn="loaichungtuxuat" DataSetColumn="loaichungtuxuat" />
              <Mapping SourceColumn="taikhoankho" DataSetColumn="taikhoankho" />
              <Mapping SourceColumn="taikhoangiavon" DataSetColumn="taikhoangiavon" />
              <Mapping SourceColumn="dunglocator" DataSetColumn="dunglocator" />
              <Mapping SourceColumn="khokhonggia" DataSetColumn="khokhonggia" />
              <Mapping SourceColumn="phuongphaptinhgia" DataSetColumn="phuongphaptinhgia" />
              <Mapping SourceColumn="khoxuong" DataSetColumn="khoxuong" />
              <Mapping SourceColumn="taikhoandoanhthu" DataSetColumn="taikhoandoanhthu" />
              <Mapping SourceColumn="chinhanh" DataSetColumn="chinhanh" />
              <Mapping SourceColumn="tinhtrang" DataSetColumn="tinhtrang" />
              <Mapping SourceColumn="id" DataSetColumn="id" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="dmkhoanmucphiTableAdapter" GeneratorDataComponentClassName="dmkhoanmucphiTableAdapter" Name="dmkhoanmucphi" UserDataComponentName="dmkhoanmucphiTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="erpharmaConnectionString (MySettings)" DbObjectName="erpharma.dbo.dmkhoanmucphi" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[dmkhoanmucphi] WHERE (([ma] = @Original_ma) AND ([ten] = @Original_ten) AND ((@IsNull_sotaikhoan = 1 AND [sotaikhoan] IS NULL) OR ([sotaikhoan] = @Original_sotaikhoan)) AND ((@IsNull_cap = 1 AND [cap] IS NULL) OR ([cap] = @Original_cap)) AND ((@IsNull_captren = 1 AND [captren] IS NULL) OR ([captren] = @Original_captren)) AND ((@IsNull_tkcaptren = 1 AND [tkcaptren] IS NULL) OR ([tkcaptren] = @Original_tkcaptren)) AND ((@IsNull_conhapkmcaptren = 1 AND [conhapkmcaptren] IS NULL) OR ([conhapkmcaptren] = @Original_conhapkmcaptren)) AND ((@IsNull_loaitien = 1 AND [loaitien] IS NULL) OR ([loaitien] = @Original_loaitien)) AND ((@IsNull_phanhe = 1 AND [phanhe] IS NULL) OR ([phanhe] = @Original_phanhe)) AND ((@IsNull_chinhanh = 1 AND [chinhanh] IS NULL) OR ([chinhanh] = @Original_chinhanh)) AND ([tinhtrang] = @Original_tinhtrang) AND ([id] = @Original_id))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_sotaikhoan" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="sotaikhoan" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_sotaikhoan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sotaikhoan" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_cap" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="cap" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_cap" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="cap" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_captren" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="captren" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_captren" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="captren" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tkcaptren" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tkcaptren" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tkcaptren" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tkcaptren" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_conhapkmcaptren" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="conhapkmcaptren" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_conhapkmcaptren" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="conhapkmcaptren" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_loaitien" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="loaitien" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_loaitien" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="loaitien" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_phanhe" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="phanhe" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_phanhe" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="phanhe" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chinhanh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[dmkhoanmucphi] ([ma], [ten], [sotaikhoan], [cap], [captren], [tkcaptren], [conhapkmcaptren], [loaitien], [phanhe], [chinhanh], [tinhtrang], [id]) VALUES (@ma, @ten, @sotaikhoan, @cap, @captren, @tkcaptren, @conhapkmcaptren, @loaitien, @phanhe, @chinhanh, @tinhtrang, @id);
SELECT ma, ten, sotaikhoan, cap, captren, tkcaptren, conhapkmcaptren, loaitien, phanhe, chinhanh, tinhtrang, id FROM dmkhoanmucphi WHERE (id = @id)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@sotaikhoan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sotaikhoan" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@cap" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="cap" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@captren" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="captren" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tkcaptren" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tkcaptren" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@conhapkmcaptren" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="conhapkmcaptren" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@loaitien" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="loaitien" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@phanhe" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="phanhe" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT ma, ten, sotaikhoan, cap, captren, tkcaptren, conhapkmcaptren, loaitien, phanhe, chinhanh, tinhtrang, id FROM dbo.dmkhoanmucphi</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[dmkhoanmucphi] SET [ma] = @ma, [ten] = @ten, [sotaikhoan] = @sotaikhoan, [cap] = @cap, [captren] = @captren, [tkcaptren] = @tkcaptren, [conhapkmcaptren] = @conhapkmcaptren, [loaitien] = @loaitien, [phanhe] = @phanhe, [chinhanh] = @chinhanh, [tinhtrang] = @tinhtrang, [id] = @id WHERE (([ma] = @Original_ma) AND ([ten] = @Original_ten) AND ((@IsNull_sotaikhoan = 1 AND [sotaikhoan] IS NULL) OR ([sotaikhoan] = @Original_sotaikhoan)) AND ((@IsNull_cap = 1 AND [cap] IS NULL) OR ([cap] = @Original_cap)) AND ((@IsNull_captren = 1 AND [captren] IS NULL) OR ([captren] = @Original_captren)) AND ((@IsNull_tkcaptren = 1 AND [tkcaptren] IS NULL) OR ([tkcaptren] = @Original_tkcaptren)) AND ((@IsNull_conhapkmcaptren = 1 AND [conhapkmcaptren] IS NULL) OR ([conhapkmcaptren] = @Original_conhapkmcaptren)) AND ((@IsNull_loaitien = 1 AND [loaitien] IS NULL) OR ([loaitien] = @Original_loaitien)) AND ((@IsNull_phanhe = 1 AND [phanhe] IS NULL) OR ([phanhe] = @Original_phanhe)) AND ((@IsNull_chinhanh = 1 AND [chinhanh] IS NULL) OR ([chinhanh] = @Original_chinhanh)) AND ([tinhtrang] = @Original_tinhtrang) AND ([id] = @Original_id));
SELECT ma, ten, sotaikhoan, cap, captren, tkcaptren, conhapkmcaptren, loaitien, phanhe, chinhanh, tinhtrang, id FROM dmkhoanmucphi WHERE (id = @id)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@sotaikhoan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sotaikhoan" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@cap" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="cap" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@captren" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="captren" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tkcaptren" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tkcaptren" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@conhapkmcaptren" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="conhapkmcaptren" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@loaitien" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="loaitien" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@phanhe" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="phanhe" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_sotaikhoan" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="sotaikhoan" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_sotaikhoan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sotaikhoan" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_cap" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="cap" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_cap" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="cap" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_captren" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="captren" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_captren" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="captren" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tkcaptren" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tkcaptren" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tkcaptren" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tkcaptren" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_conhapkmcaptren" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="conhapkmcaptren" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_conhapkmcaptren" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="conhapkmcaptren" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_loaitien" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="loaitien" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_loaitien" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="loaitien" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_phanhe" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="phanhe" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_phanhe" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="phanhe" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chinhanh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ma" DataSetColumn="ma" />
              <Mapping SourceColumn="ten" DataSetColumn="ten" />
              <Mapping SourceColumn="sotaikhoan" DataSetColumn="sotaikhoan" />
              <Mapping SourceColumn="cap" DataSetColumn="cap" />
              <Mapping SourceColumn="captren" DataSetColumn="captren" />
              <Mapping SourceColumn="tkcaptren" DataSetColumn="tkcaptren" />
              <Mapping SourceColumn="conhapkmcaptren" DataSetColumn="conhapkmcaptren" />
              <Mapping SourceColumn="loaitien" DataSetColumn="loaitien" />
              <Mapping SourceColumn="phanhe" DataSetColumn="phanhe" />
              <Mapping SourceColumn="chinhanh" DataSetColumn="chinhanh" />
              <Mapping SourceColumn="tinhtrang" DataSetColumn="tinhtrang" />
              <Mapping SourceColumn="id" DataSetColumn="id" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="dmloaichungtuTableAdapter" GeneratorDataComponentClassName="dmloaichungtuTableAdapter" Name="dmloaichungtu" UserDataComponentName="dmloaichungtuTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="erpharmaConnectionString (MySettings)" DbObjectName="erpharma.dbo.dmloaichungtu" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[dmloaichungtu] WHERE (([ma] = @Original_ma) AND ([ten] = @Original_ten) AND ([phanhe] = @Original_phanhe) AND ([thutuphanhe] = @Original_thutuphanhe) AND ([chinhanh] = @Original_chinhanh) AND ([tinhtrang] = @Original_tinhtrang) AND ([id] = @Original_id))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_phanhe" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="phanhe" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_thutuphanhe" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="thutuphanhe" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[dmloaichungtu] ([ma], [ten], [phanhe], [thutuphanhe], [chinhanh], [tinhtrang]) VALUES (@ma, @ten, @phanhe, @thutuphanhe, @chinhanh, @tinhtrang);
SELECT ma, ten, phanhe, thutuphanhe, chinhanh, tinhtrang, id FROM dmloaichungtu WHERE (id = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@phanhe" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="phanhe" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@thutuphanhe" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="thutuphanhe" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT ma, ten, phanhe, thutuphanhe, chinhanh, tinhtrang, id FROM dbo.dmloaichungtu</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[dmloaichungtu] SET [ma] = @ma, [ten] = @ten, [phanhe] = @phanhe, [thutuphanhe] = @thutuphanhe, [chinhanh] = @chinhanh, [tinhtrang] = @tinhtrang WHERE (([ma] = @Original_ma) AND ([ten] = @Original_ten) AND ([phanhe] = @Original_phanhe) AND ([thutuphanhe] = @Original_thutuphanhe) AND ([chinhanh] = @Original_chinhanh) AND ([tinhtrang] = @Original_tinhtrang) AND ([id] = @Original_id));
SELECT ma, ten, phanhe, thutuphanhe, chinhanh, tinhtrang, id FROM dmloaichungtu WHERE (id = @id)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@phanhe" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="phanhe" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@thutuphanhe" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="thutuphanhe" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_phanhe" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="phanhe" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_thutuphanhe" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="thutuphanhe" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="id" ColumnName="id" DataSourceName="erpharma.dbo.dmloaichungtu" DataTypeServer="decimal" DbType="Decimal" Direction="Input" ParameterName="@id" Precision="18" ProviderType="Decimal" Scale="0" Size="9" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ma" DataSetColumn="ma" />
              <Mapping SourceColumn="ten" DataSetColumn="ten" />
              <Mapping SourceColumn="phanhe" DataSetColumn="phanhe" />
              <Mapping SourceColumn="thutuphanhe" DataSetColumn="thutuphanhe" />
              <Mapping SourceColumn="chinhanh" DataSetColumn="chinhanh" />
              <Mapping SourceColumn="tinhtrang" DataSetColumn="tinhtrang" />
              <Mapping SourceColumn="id" DataSetColumn="id" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="dmloaihangmucTableAdapter" GeneratorDataComponentClassName="dmloaihangmucTableAdapter" Name="dmloaihangmuc" UserDataComponentName="dmloaihangmucTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="erpharmaConnectionString (MySettings)" DbObjectName="erpharma.dbo.dmloaihangmuc" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[dmloaihangmuc] WHERE (([ma] = @Original_ma) AND ([ten] = @Original_ten) AND ([chinhanh] = @Original_chinhanh) AND ([tinhtrang] = @Original_tinhtrang) AND ([id] = @Original_id))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[dmloaihangmuc] ([ma], [ten], [chinhanh], [tinhtrang]) VALUES (@ma, @ten, @chinhanh, @tinhtrang);
SELECT ma, ten, chinhanh, tinhtrang, id FROM dmloaihangmuc WHERE (id = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT ma, ten, chinhanh, tinhtrang, id FROM dbo.dmloaihangmuc</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[dmloaihangmuc] SET [ma] = @ma, [ten] = @ten, [chinhanh] = @chinhanh, [tinhtrang] = @tinhtrang WHERE (([ma] = @Original_ma) AND ([ten] = @Original_ten) AND ([chinhanh] = @Original_chinhanh) AND ([tinhtrang] = @Original_tinhtrang) AND ([id] = @Original_id));
SELECT ma, ten, chinhanh, tinhtrang, id FROM dmloaihangmuc WHERE (id = @id)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="id" ColumnName="id" DataSourceName="erpharma.dbo.dmloaihangmuc" DataTypeServer="decimal" DbType="Decimal" Direction="Input" ParameterName="@id" Precision="18" ProviderType="Decimal" Scale="0" Size="9" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ma" DataSetColumn="ma" />
              <Mapping SourceColumn="ten" DataSetColumn="ten" />
              <Mapping SourceColumn="chinhanh" DataSetColumn="chinhanh" />
              <Mapping SourceColumn="tinhtrang" DataSetColumn="tinhtrang" />
              <Mapping SourceColumn="id" DataSetColumn="id" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="dmloaihaohutTableAdapter" GeneratorDataComponentClassName="dmloaihaohutTableAdapter" Name="dmloaihaohut" UserDataComponentName="dmloaihaohutTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="erpharmaConnectionString (MySettings)" DbObjectName="erpharma.dbo.dmloaihaohut" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[dmloaihaohut] WHERE (([ma] = @Original_ma) AND ([ten] = @Original_ten) AND ([chinhanh] = @Original_chinhanh) AND ([tinhtrang] = @Original_tinhtrang) AND ([id] = @Original_id))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[dmloaihaohut] ([ma], [ten], [chinhanh], [tinhtrang]) VALUES (@ma, @ten, @chinhanh, @tinhtrang);
SELECT ma, ten, chinhanh, tinhtrang, id FROM dmloaihaohut WHERE (id = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT ma, ten, chinhanh, tinhtrang, id FROM dbo.dmloaihaohut</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[dmloaihaohut] SET [ma] = @ma, [ten] = @ten, [chinhanh] = @chinhanh, [tinhtrang] = @tinhtrang WHERE (([ma] = @Original_ma) AND ([ten] = @Original_ten) AND ([chinhanh] = @Original_chinhanh) AND ([tinhtrang] = @Original_tinhtrang) AND ([id] = @Original_id));
SELECT ma, ten, chinhanh, tinhtrang, id FROM dmloaihaohut WHERE (id = @id)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="id" ColumnName="id" DataSourceName="erpharma.dbo.dmloaihaohut" DataTypeServer="decimal" DbType="Decimal" Direction="Input" ParameterName="@id" Precision="18" ProviderType="Decimal" Scale="0" Size="9" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ma" DataSetColumn="ma" />
              <Mapping SourceColumn="ten" DataSetColumn="ten" />
              <Mapping SourceColumn="chinhanh" DataSetColumn="chinhanh" />
              <Mapping SourceColumn="tinhtrang" DataSetColumn="tinhtrang" />
              <Mapping SourceColumn="id" DataSetColumn="id" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="dmloaikhachhangTableAdapter" GeneratorDataComponentClassName="dmloaikhachhangTableAdapter" Name="dmloaikhachhang" UserDataComponentName="dmloaikhachhangTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="erpharmaConnectionString (MySettings)" DbObjectName="erpharma.dbo.dmloaikhachhang" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[dmloaikhachhang] WHERE (([ma] = @Original_ma) AND ([ten] = @Original_ten) AND ([chinhanh] = @Original_chinhanh) AND ([tinhtrang] = @Original_tinhtrang) AND ([id] = @Original_id))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[dmloaikhachhang] ([ma], [ten], [chinhanh], [tinhtrang]) VALUES (@ma, @ten, @chinhanh, @tinhtrang);
SELECT ma, ten, chinhanh, tinhtrang, id FROM dmloaikhachhang WHERE (id = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT ma, ten, chinhanh, tinhtrang, id FROM dbo.dmloaikhachhang</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[dmloaikhachhang] SET [ma] = @ma, [ten] = @ten, [chinhanh] = @chinhanh, [tinhtrang] = @tinhtrang WHERE (([ma] = @Original_ma) AND ([ten] = @Original_ten) AND ([chinhanh] = @Original_chinhanh) AND ([tinhtrang] = @Original_tinhtrang) AND ([id] = @Original_id));
SELECT ma, ten, chinhanh, tinhtrang, id FROM dmloaikhachhang WHERE (id = @id)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="id" ColumnName="id" DataSourceName="erpharma.dbo.dmloaikhachhang" DataTypeServer="decimal" DbType="Decimal" Direction="Input" ParameterName="@id" Precision="18" ProviderType="Decimal" Scale="0" Size="9" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ma" DataSetColumn="ma" />
              <Mapping SourceColumn="ten" DataSetColumn="ten" />
              <Mapping SourceColumn="chinhanh" DataSetColumn="chinhanh" />
              <Mapping SourceColumn="tinhtrang" DataSetColumn="tinhtrang" />
              <Mapping SourceColumn="id" DataSetColumn="id" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="dmloaitaikhoanTableAdapter" GeneratorDataComponentClassName="dmloaitaikhoanTableAdapter" Name="dmloaitaikhoan" UserDataComponentName="dmloaitaikhoanTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="erpharmaConnectionString (MySettings)" DbObjectName="erpharma.dbo.dmloaitaikhoan" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[dmloaitaikhoan] WHERE (([ma] = @Original_ma) AND ([ten] = @Original_ten) AND ([chinhanh] = @Original_chinhanh) AND ([tinhtrang] = @Original_tinhtrang) AND ([id] = @Original_id))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[dmloaitaikhoan] ([ma], [ten], [chinhanh], [tinhtrang]) VALUES (@ma, @ten, @chinhanh, @tinhtrang);
SELECT ma, ten, chinhanh, tinhtrang, id FROM dmloaitaikhoan WHERE (id = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT ma, ten, chinhanh, tinhtrang, id FROM dbo.dmloaitaikhoan</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[dmloaitaikhoan] SET [ma] = @ma, [ten] = @ten, [chinhanh] = @chinhanh, [tinhtrang] = @tinhtrang WHERE (([ma] = @Original_ma) AND ([ten] = @Original_ten) AND ([chinhanh] = @Original_chinhanh) AND ([tinhtrang] = @Original_tinhtrang) AND ([id] = @Original_id));
SELECT ma, ten, chinhanh, tinhtrang, id FROM dmloaitaikhoan WHERE (id = @id)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="id" ColumnName="id" DataSourceName="erpharma.dbo.dmloaitaikhoan" DataTypeServer="decimal" DbType="Decimal" Direction="Input" ParameterName="@id" Precision="18" ProviderType="Decimal" Scale="0" Size="9" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ma" DataSetColumn="ma" />
              <Mapping SourceColumn="ten" DataSetColumn="ten" />
              <Mapping SourceColumn="chinhanh" DataSetColumn="chinhanh" />
              <Mapping SourceColumn="tinhtrang" DataSetColumn="tinhtrang" />
              <Mapping SourceColumn="id" DataSetColumn="id" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="dmloaitienTableAdapter" GeneratorDataComponentClassName="dmloaitienTableAdapter" Name="dmloaitien" UserDataComponentName="dmloaitienTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="erpharmaConnectionString (MySettings)" DbObjectName="erpharma.dbo.dmloaitien" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[dmloaitien] WHERE (([ma] = @Original_ma) AND ([ten] = @Original_ten) AND ((@IsNull_chinhanh = 1 AND [chinhanh] IS NULL) OR ([chinhanh] = @Original_chinhanh)) AND ([tinhtrang] = @Original_tinhtrang) AND ([id] = @Original_id))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chinhanh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[dmloaitien] ([ma], [ten], [chinhanh], [tinhtrang]) VALUES (@ma, @ten, @chinhanh, @tinhtrang);
SELECT ma, ten, chinhanh, tinhtrang, id FROM dmloaitien WHERE (id = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT ma, ten, chinhanh, tinhtrang, id FROM dbo.dmloaitien</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[dmloaitien] SET [ma] = @ma, [ten] = @ten, [chinhanh] = @chinhanh, [tinhtrang] = @tinhtrang WHERE (([ma] = @Original_ma) AND ([ten] = @Original_ten) AND ((@IsNull_chinhanh = 1 AND [chinhanh] IS NULL) OR ([chinhanh] = @Original_chinhanh)) AND ([tinhtrang] = @Original_tinhtrang) AND ([id] = @Original_id));
SELECT ma, ten, chinhanh, tinhtrang, id FROM dmloaitien WHERE (id = @id)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chinhanh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="id" ColumnName="id" DataSourceName="erpharma.dbo.dmloaitien" DataTypeServer="decimal" DbType="Decimal" Direction="Input" ParameterName="@id" Precision="18" ProviderType="Decimal" Scale="0" Size="9" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ma" DataSetColumn="ma" />
              <Mapping SourceColumn="ten" DataSetColumn="ten" />
              <Mapping SourceColumn="chinhanh" DataSetColumn="chinhanh" />
              <Mapping SourceColumn="tinhtrang" DataSetColumn="tinhtrang" />
              <Mapping SourceColumn="id" DataSetColumn="id" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="dmnganhangTableAdapter" GeneratorDataComponentClassName="dmnganhangTableAdapter" Name="dmnganhang" UserDataComponentName="dmnganhangTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="erpharmaConnectionString (MySettings)" DbObjectName="erpharma.dbo.dmnganhang" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[dmnganhang] WHERE (([ma] = @Original_ma) AND ([ten] = @Original_ten) AND ((@IsNull_ghichu = 1 AND [ghichu] IS NULL) OR ([ghichu] = @Original_ghichu)) AND ((@IsNull_chinhanh = 1 AND [chinhanh] IS NULL) OR ([chinhanh] = @Original_chinhanh)) AND ([tinhtrang] = @Original_tinhtrang) AND ([id] = @Original_id))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ghichu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ghichu" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ghichu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ghichu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chinhanh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[dmnganhang] ([ma], [ten], [ghichu], [chinhanh], [tinhtrang]) VALUES (@ma, @ten, @ghichu, @chinhanh, @tinhtrang);
SELECT ma, ten, ghichu, chinhanh, tinhtrang, id FROM dmnganhang WHERE (id = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ghichu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ghichu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT ma, ten, ghichu, chinhanh, tinhtrang, id FROM dbo.dmnganhang</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[dmnganhang] SET [ma] = @ma, [ten] = @ten, [ghichu] = @ghichu, [chinhanh] = @chinhanh, [tinhtrang] = @tinhtrang WHERE (([ma] = @Original_ma) AND ([ten] = @Original_ten) AND ((@IsNull_ghichu = 1 AND [ghichu] IS NULL) OR ([ghichu] = @Original_ghichu)) AND ((@IsNull_chinhanh = 1 AND [chinhanh] IS NULL) OR ([chinhanh] = @Original_chinhanh)) AND ([tinhtrang] = @Original_tinhtrang) AND ([id] = @Original_id));
SELECT ma, ten, ghichu, chinhanh, tinhtrang, id FROM dmnganhang WHERE (id = @id)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ghichu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ghichu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ghichu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ghichu" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ghichu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ghichu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chinhanh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="id" ColumnName="id" DataSourceName="erpharma.dbo.dmnganhang" DataTypeServer="decimal" DbType="Decimal" Direction="Input" ParameterName="@id" Precision="18" ProviderType="Decimal" Scale="0" Size="9" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ma" DataSetColumn="ma" />
              <Mapping SourceColumn="ten" DataSetColumn="ten" />
              <Mapping SourceColumn="ghichu" DataSetColumn="ghichu" />
              <Mapping SourceColumn="chinhanh" DataSetColumn="chinhanh" />
              <Mapping SourceColumn="tinhtrang" DataSetColumn="tinhtrang" />
              <Mapping SourceColumn="id" DataSetColumn="id" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="dmnganhngheTableAdapter" GeneratorDataComponentClassName="dmnganhngheTableAdapter" Name="dmnganhnghe" UserDataComponentName="dmnganhngheTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="erpharmaConnectionString (MySettings)" DbObjectName="erpharma.dbo.dmnganhnghe" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[dmnganhnghe] WHERE (([ma] = @Original_ma) AND ([ten] = @Original_ten) AND ((@IsNull_chinhanh = 1 AND [chinhanh] IS NULL) OR ([chinhanh] = @Original_chinhanh)) AND ([tinhtrang] = @Original_tinhtrang) AND ([id] = @Original_id))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chinhanh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[dmnganhnghe] ([ma], [ten], [chinhanh], [tinhtrang]) VALUES (@ma, @ten, @chinhanh, @tinhtrang);
SELECT ma, ten, chinhanh, tinhtrang, id FROM dmnganhnghe WHERE (id = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT ma, ten, chinhanh, tinhtrang, id FROM dbo.dmnganhnghe</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[dmnganhnghe] SET [ma] = @ma, [ten] = @ten, [chinhanh] = @chinhanh, [tinhtrang] = @tinhtrang WHERE (([ma] = @Original_ma) AND ([ten] = @Original_ten) AND ((@IsNull_chinhanh = 1 AND [chinhanh] IS NULL) OR ([chinhanh] = @Original_chinhanh)) AND ([tinhtrang] = @Original_tinhtrang) AND ([id] = @Original_id));
SELECT ma, ten, chinhanh, tinhtrang, id FROM dmnganhnghe WHERE (id = @id)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chinhanh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="id" ColumnName="id" DataSourceName="erpharma.dbo.dmnganhnghe" DataTypeServer="decimal" DbType="Decimal" Direction="Input" ParameterName="@id" Precision="18" ProviderType="Decimal" Scale="0" Size="9" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ma" DataSetColumn="ma" />
              <Mapping SourceColumn="ten" DataSetColumn="ten" />
              <Mapping SourceColumn="chinhanh" DataSetColumn="chinhanh" />
              <Mapping SourceColumn="tinhtrang" DataSetColumn="tinhtrang" />
              <Mapping SourceColumn="id" DataSetColumn="id" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="dmnghiepvuTableAdapter" GeneratorDataComponentClassName="dmnghiepvuTableAdapter" Name="dmnghiepvu" UserDataComponentName="dmnghiepvuTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="erpharmaConnectionString (MySettings)" DbObjectName="erpharma.dbo.dmnghiepvu" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[dmnghiepvu] WHERE (([ma] = @Original_ma) AND ([ten] = @Original_ten) AND ((@IsNull_taikhoanno = 1 AND [taikhoanno] IS NULL) OR ([taikhoanno] = @Original_taikhoanno)) AND ((@IsNull_taikhoanco = 1 AND [taikhoanco] IS NULL) OR ([taikhoanco] = @Original_taikhoanco)) AND ((@IsNull_taikhoanvat = 1 AND [taikhoanvat] IS NULL) OR ([taikhoanvat] = @Original_taikhoanvat)) AND ((@IsNull_tylevat = 1 AND [tylevat] IS NULL) OR ([tylevat] = @Original_tylevat)) AND ((@IsNull_loaikhachhang = 1 AND [loaikhachhang] IS NULL) OR ([loaikhachhang] = @Original_loaikhachhang)) AND ((@IsNull_phanhe = 1 AND [phanhe] IS NULL) OR ([phanhe] = @Original_phanhe)) AND ((@IsNull_loaichungtu = 1 AND [loaichungtu] IS NULL) OR ([loaichungtu] = @Original_loaichungtu)) AND ((@IsNull_diengiai = 1 AND [diengiai] IS NULL) OR ([diengiai] = @Original_diengiai)) AND ((@IsNull_taikhoanlpxd = 1 AND [taikhoanlpxd] IS NULL) OR ([taikhoanlpxd] = @Original_taikhoanlpxd)) AND ((@IsNull_douutien = 1 AND [douutien] IS NULL) OR ([douutien] = @Original_douutien)) AND ((@IsNull_thuchihd = 1 AND [thuchihd] IS NULL) OR ([thuchihd] = @Original_thuchihd)) AND ((@IsNull_phanhecongno = 1 AND [phanhecongno] IS NULL) OR ([phanhecongno] = @Original_phanhecongno)) AND ((@IsNull_makhoanmuc = 1 AND [makhoanmuc] IS NULL) OR ([makhoanmuc] = @Original_makhoanmuc)) AND ((@IsNull_chixuathoadon = 1 AND [chixuathoadon] IS NULL) OR ([chixuathoadon] = @Original_chixuathoadon)) AND ((@IsNull_taikhoannobosung = 1 AND [taikhoannobosung] IS NULL) OR ([taikhoannobosung] = @Original_taikhoannobosung)) AND ((@IsNull_taikhoancobosung = 1 AND [taikhoancobosung] IS NULL) OR ([taikhoancobosung] = @Original_taikhoancobosung)) AND ((@IsNull_makhomacdinh = 1 AND [makhomacdinh] IS NULL) OR ([makhomacdinh] = @Original_makhomacdinh)) AND ((@IsNull_chinhanh = 1 AND [chinhanh] IS NULL) OR ([chinhanh] = @Original_chinhanh)) AND ([tinhtrang] = @Original_tinhtrang) AND ([id] = @Original_id))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_taikhoanno" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="taikhoanno" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_taikhoanno" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="taikhoanno" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_taikhoanco" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="taikhoanco" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_taikhoanco" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="taikhoanco" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_taikhoanvat" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="taikhoanvat" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_taikhoanvat" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="taikhoanvat" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tylevat" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tylevat" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_tylevat" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tylevat" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_loaikhachhang" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="loaikhachhang" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_loaikhachhang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="loaikhachhang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_phanhe" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="phanhe" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_phanhe" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="phanhe" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_loaichungtu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="loaichungtu" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_loaichungtu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="loaichungtu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_diengiai" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="diengiai" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_diengiai" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="diengiai" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_taikhoanlpxd" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="taikhoanlpxd" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_taikhoanlpxd" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="taikhoanlpxd" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_douutien" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="douutien" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_douutien" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="douutien" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_thuchihd" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="thuchihd" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_thuchihd" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="thuchihd" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_phanhecongno" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="phanhecongno" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_phanhecongno" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="phanhecongno" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_makhoanmuc" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="makhoanmuc" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_makhoanmuc" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="makhoanmuc" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chixuathoadon" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chixuathoadon" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_chixuathoadon" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="chixuathoadon" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_taikhoannobosung" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="taikhoannobosung" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_taikhoannobosung" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="taikhoannobosung" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_taikhoancobosung" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="taikhoancobosung" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_taikhoancobosung" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="taikhoancobosung" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_makhomacdinh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="makhomacdinh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_makhomacdinh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="makhomacdinh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chinhanh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[dmnghiepvu] ([ma], [ten], [taikhoanno], [taikhoanco], [taikhoanvat], [tylevat], [loaikhachhang], [phanhe], [loaichungtu], [diengiai], [taikhoanlpxd], [douutien], [thuchihd], [phanhecongno], [makhoanmuc], [chixuathoadon], [taikhoannobosung], [taikhoancobosung], [makhomacdinh], [chinhanh], [tinhtrang]) VALUES (@ma, @ten, @taikhoanno, @taikhoanco, @taikhoanvat, @tylevat, @loaikhachhang, @phanhe, @loaichungtu, @diengiai, @taikhoanlpxd, @douutien, @thuchihd, @phanhecongno, @makhoanmuc, @chixuathoadon, @taikhoannobosung, @taikhoancobosung, @makhomacdinh, @chinhanh, @tinhtrang);
SELECT ma, ten, taikhoanno, taikhoanco, taikhoanvat, tylevat, loaikhachhang, phanhe, loaichungtu, diengiai, taikhoanlpxd, douutien, thuchihd, phanhecongno, makhoanmuc, chixuathoadon, taikhoannobosung, taikhoancobosung, makhomacdinh, chinhanh, tinhtrang, id FROM dmnghiepvu WHERE (id = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@taikhoanno" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="taikhoanno" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@taikhoanco" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="taikhoanco" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@taikhoanvat" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="taikhoanvat" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@tylevat" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tylevat" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@loaikhachhang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="loaikhachhang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@phanhe" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="phanhe" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@loaichungtu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="loaichungtu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@diengiai" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="diengiai" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@taikhoanlpxd" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="taikhoanlpxd" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@douutien" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="douutien" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@thuchihd" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="thuchihd" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@phanhecongno" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="phanhecongno" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@makhoanmuc" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="makhoanmuc" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@chixuathoadon" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="chixuathoadon" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@taikhoannobosung" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="taikhoannobosung" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@taikhoancobosung" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="taikhoancobosung" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@makhomacdinh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="makhomacdinh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT ma, ten, taikhoanno, taikhoanco, taikhoanvat, tylevat, loaikhachhang, phanhe, loaichungtu, diengiai, taikhoanlpxd, douutien, thuchihd, phanhecongno, makhoanmuc, chixuathoadon, taikhoannobosung, taikhoancobosung, makhomacdinh, chinhanh, tinhtrang, id FROM dbo.dmnghiepvu</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[dmnghiepvu] SET [ma] = @ma, [ten] = @ten, [taikhoanno] = @taikhoanno, [taikhoanco] = @taikhoanco, [taikhoanvat] = @taikhoanvat, [tylevat] = @tylevat, [loaikhachhang] = @loaikhachhang, [phanhe] = @phanhe, [loaichungtu] = @loaichungtu, [diengiai] = @diengiai, [taikhoanlpxd] = @taikhoanlpxd, [douutien] = @douutien, [thuchihd] = @thuchihd, [phanhecongno] = @phanhecongno, [makhoanmuc] = @makhoanmuc, [chixuathoadon] = @chixuathoadon, [taikhoannobosung] = @taikhoannobosung, [taikhoancobosung] = @taikhoancobosung, [makhomacdinh] = @makhomacdinh, [chinhanh] = @chinhanh, [tinhtrang] = @tinhtrang WHERE (([ma] = @Original_ma) AND ([ten] = @Original_ten) AND ((@IsNull_taikhoanno = 1 AND [taikhoanno] IS NULL) OR ([taikhoanno] = @Original_taikhoanno)) AND ((@IsNull_taikhoanco = 1 AND [taikhoanco] IS NULL) OR ([taikhoanco] = @Original_taikhoanco)) AND ((@IsNull_taikhoanvat = 1 AND [taikhoanvat] IS NULL) OR ([taikhoanvat] = @Original_taikhoanvat)) AND ((@IsNull_tylevat = 1 AND [tylevat] IS NULL) OR ([tylevat] = @Original_tylevat)) AND ((@IsNull_loaikhachhang = 1 AND [loaikhachhang] IS NULL) OR ([loaikhachhang] = @Original_loaikhachhang)) AND ((@IsNull_phanhe = 1 AND [phanhe] IS NULL) OR ([phanhe] = @Original_phanhe)) AND ((@IsNull_loaichungtu = 1 AND [loaichungtu] IS NULL) OR ([loaichungtu] = @Original_loaichungtu)) AND ((@IsNull_diengiai = 1 AND [diengiai] IS NULL) OR ([diengiai] = @Original_diengiai)) AND ((@IsNull_taikhoanlpxd = 1 AND [taikhoanlpxd] IS NULL) OR ([taikhoanlpxd] = @Original_taikhoanlpxd)) AND ((@IsNull_douutien = 1 AND [douutien] IS NULL) OR ([douutien] = @Original_douutien)) AND ((@IsNull_thuchihd = 1 AND [thuchihd] IS NULL) OR ([thuchihd] = @Original_thuchihd)) AND ((@IsNull_phanhecongno = 1 AND [phanhecongno] IS NULL) OR ([phanhecongno] = @Original_phanhecongno)) AND ((@IsNull_makhoanmuc = 1 AND [makhoanmuc] IS NULL) OR ([makhoanmuc] = @Original_makhoanmuc)) AND ((@IsNull_chixuathoadon = 1 AND [chixuathoadon] IS NULL) OR ([chixuathoadon] = @Original_chixuathoadon)) AND ((@IsNull_taikhoannobosung = 1 AND [taikhoannobosung] IS NULL) OR ([taikhoannobosung] = @Original_taikhoannobosung)) AND ((@IsNull_taikhoancobosung = 1 AND [taikhoancobosung] IS NULL) OR ([taikhoancobosung] = @Original_taikhoancobosung)) AND ((@IsNull_makhomacdinh = 1 AND [makhomacdinh] IS NULL) OR ([makhomacdinh] = @Original_makhomacdinh)) AND ((@IsNull_chinhanh = 1 AND [chinhanh] IS NULL) OR ([chinhanh] = @Original_chinhanh)) AND ([tinhtrang] = @Original_tinhtrang) AND ([id] = @Original_id));
SELECT ma, ten, taikhoanno, taikhoanco, taikhoanvat, tylevat, loaikhachhang, phanhe, loaichungtu, diengiai, taikhoanlpxd, douutien, thuchihd, phanhecongno, makhoanmuc, chixuathoadon, taikhoannobosung, taikhoancobosung, makhomacdinh, chinhanh, tinhtrang, id FROM dmnghiepvu WHERE (id = @id)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@taikhoanno" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="taikhoanno" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@taikhoanco" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="taikhoanco" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@taikhoanvat" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="taikhoanvat" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@tylevat" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tylevat" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@loaikhachhang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="loaikhachhang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@phanhe" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="phanhe" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@loaichungtu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="loaichungtu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@diengiai" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="diengiai" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@taikhoanlpxd" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="taikhoanlpxd" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@douutien" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="douutien" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@thuchihd" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="thuchihd" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@phanhecongno" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="phanhecongno" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@makhoanmuc" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="makhoanmuc" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@chixuathoadon" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="chixuathoadon" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@taikhoannobosung" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="taikhoannobosung" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@taikhoancobosung" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="taikhoancobosung" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@makhomacdinh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="makhomacdinh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_taikhoanno" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="taikhoanno" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_taikhoanno" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="taikhoanno" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_taikhoanco" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="taikhoanco" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_taikhoanco" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="taikhoanco" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_taikhoanvat" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="taikhoanvat" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_taikhoanvat" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="taikhoanvat" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tylevat" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tylevat" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_tylevat" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tylevat" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_loaikhachhang" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="loaikhachhang" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_loaikhachhang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="loaikhachhang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_phanhe" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="phanhe" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_phanhe" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="phanhe" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_loaichungtu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="loaichungtu" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_loaichungtu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="loaichungtu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_diengiai" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="diengiai" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_diengiai" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="diengiai" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_taikhoanlpxd" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="taikhoanlpxd" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_taikhoanlpxd" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="taikhoanlpxd" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_douutien" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="douutien" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_douutien" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="douutien" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_thuchihd" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="thuchihd" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_thuchihd" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="thuchihd" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_phanhecongno" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="phanhecongno" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_phanhecongno" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="phanhecongno" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_makhoanmuc" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="makhoanmuc" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_makhoanmuc" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="makhoanmuc" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chixuathoadon" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chixuathoadon" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_chixuathoadon" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="chixuathoadon" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_taikhoannobosung" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="taikhoannobosung" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_taikhoannobosung" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="taikhoannobosung" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_taikhoancobosung" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="taikhoancobosung" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_taikhoancobosung" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="taikhoancobosung" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_makhomacdinh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="makhomacdinh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_makhomacdinh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="makhomacdinh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chinhanh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="id" ColumnName="id" DataSourceName="erpharma.dbo.dmnghiepvu" DataTypeServer="decimal" DbType="Decimal" Direction="Input" ParameterName="@id" Precision="18" ProviderType="Decimal" Scale="0" Size="9" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ma" DataSetColumn="ma" />
              <Mapping SourceColumn="ten" DataSetColumn="ten" />
              <Mapping SourceColumn="taikhoanno" DataSetColumn="taikhoanno" />
              <Mapping SourceColumn="taikhoanco" DataSetColumn="taikhoanco" />
              <Mapping SourceColumn="taikhoanvat" DataSetColumn="taikhoanvat" />
              <Mapping SourceColumn="tylevat" DataSetColumn="tylevat" />
              <Mapping SourceColumn="loaikhachhang" DataSetColumn="loaikhachhang" />
              <Mapping SourceColumn="phanhe" DataSetColumn="phanhe" />
              <Mapping SourceColumn="loaichungtu" DataSetColumn="loaichungtu" />
              <Mapping SourceColumn="diengiai" DataSetColumn="diengiai" />
              <Mapping SourceColumn="taikhoanlpxd" DataSetColumn="taikhoanlpxd" />
              <Mapping SourceColumn="douutien" DataSetColumn="douutien" />
              <Mapping SourceColumn="thuchihd" DataSetColumn="thuchihd" />
              <Mapping SourceColumn="phanhecongno" DataSetColumn="phanhecongno" />
              <Mapping SourceColumn="makhoanmuc" DataSetColumn="makhoanmuc" />
              <Mapping SourceColumn="chixuathoadon" DataSetColumn="chixuathoadon" />
              <Mapping SourceColumn="taikhoannobosung" DataSetColumn="taikhoannobosung" />
              <Mapping SourceColumn="taikhoancobosung" DataSetColumn="taikhoancobosung" />
              <Mapping SourceColumn="makhomacdinh" DataSetColumn="makhomacdinh" />
              <Mapping SourceColumn="chinhanh" DataSetColumn="chinhanh" />
              <Mapping SourceColumn="tinhtrang" DataSetColumn="tinhtrang" />
              <Mapping SourceColumn="id" DataSetColumn="id" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="dmnguonlucTableAdapter" GeneratorDataComponentClassName="dmnguonlucTableAdapter" Name="dmnguonluc" UserDataComponentName="dmnguonlucTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="erpharmaConnectionString (MySettings)" DbObjectName="erpharma.dbo.dmnguonluc" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[dmnguonluc] WHERE (([ma] = @Original_ma) AND ([ten] = @Original_ten) AND ([taikhoan] = @Original_taikhoan) AND ([khoanmuc] = @Original_khoanmuc) AND ((@IsNull_chinhanh = 1 AND [chinhanh] IS NULL) OR ([chinhanh] = @Original_chinhanh)) AND ([tinhtrang] = @Original_tinhtrang) AND ([id] = @Original_id))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_taikhoan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="taikhoan" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_khoanmuc" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="khoanmuc" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chinhanh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[dmnguonluc] ([ma], [ten], [taikhoan], [khoanmuc], [chinhanh], [tinhtrang]) VALUES (@ma, @ten, @taikhoan, @khoanmuc, @chinhanh, @tinhtrang);
SELECT ma, ten, taikhoan, khoanmuc, chinhanh, tinhtrang, id FROM dmnguonluc WHERE (id = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@taikhoan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="taikhoan" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@khoanmuc" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="khoanmuc" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT ma, ten, taikhoan, khoanmuc, chinhanh, tinhtrang, id FROM dbo.dmnguonluc</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[dmnguonluc] SET [ma] = @ma, [ten] = @ten, [taikhoan] = @taikhoan, [khoanmuc] = @khoanmuc, [chinhanh] = @chinhanh, [tinhtrang] = @tinhtrang WHERE (([ma] = @Original_ma) AND ([ten] = @Original_ten) AND ([taikhoan] = @Original_taikhoan) AND ([khoanmuc] = @Original_khoanmuc) AND ((@IsNull_chinhanh = 1 AND [chinhanh] IS NULL) OR ([chinhanh] = @Original_chinhanh)) AND ([tinhtrang] = @Original_tinhtrang) AND ([id] = @Original_id));
SELECT ma, ten, taikhoan, khoanmuc, chinhanh, tinhtrang, id FROM dmnguonluc WHERE (id = @id)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@taikhoan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="taikhoan" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@khoanmuc" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="khoanmuc" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_taikhoan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="taikhoan" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_khoanmuc" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="khoanmuc" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chinhanh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="id" ColumnName="id" DataSourceName="erpharma.dbo.dmnguonluc" DataTypeServer="decimal" DbType="Decimal" Direction="Input" ParameterName="@id" Precision="18" ProviderType="Decimal" Scale="0" Size="9" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ma" DataSetColumn="ma" />
              <Mapping SourceColumn="ten" DataSetColumn="ten" />
              <Mapping SourceColumn="taikhoan" DataSetColumn="taikhoan" />
              <Mapping SourceColumn="khoanmuc" DataSetColumn="khoanmuc" />
              <Mapping SourceColumn="chinhanh" DataSetColumn="chinhanh" />
              <Mapping SourceColumn="tinhtrang" DataSetColumn="tinhtrang" />
              <Mapping SourceColumn="id" DataSetColumn="id" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="dmnguonvonTableAdapter" GeneratorDataComponentClassName="dmnguonvonTableAdapter" Name="dmnguonvon" UserDataComponentName="dmnguonvonTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="erpharmaConnectionString (MySettings)" DbObjectName="erpharma.dbo.dmnguonvon" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[dmnguonvon] WHERE (([ma] = @Original_ma) AND ([ten] = @Original_ten) AND ((@IsNull_chinhanh = 1 AND [chinhanh] IS NULL) OR ([chinhanh] = @Original_chinhanh)) AND ([tinhtrang] = @Original_tinhtrang) AND ([id] = @Original_id))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chinhanh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[dmnguonvon] ([ma], [ten], [chinhanh], [tinhtrang]) VALUES (@ma, @ten, @chinhanh, @tinhtrang);
SELECT ma, ten, chinhanh, tinhtrang, id FROM dmnguonvon WHERE (id = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT ma, ten, chinhanh, tinhtrang, id FROM dbo.dmnguonvon</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[dmnguonvon] SET [ma] = @ma, [ten] = @ten, [chinhanh] = @chinhanh, [tinhtrang] = @tinhtrang WHERE (([ma] = @Original_ma) AND ([ten] = @Original_ten) AND ((@IsNull_chinhanh = 1 AND [chinhanh] IS NULL) OR ([chinhanh] = @Original_chinhanh)) AND ([tinhtrang] = @Original_tinhtrang) AND ([id] = @Original_id));
SELECT ma, ten, chinhanh, tinhtrang, id FROM dmnguonvon WHERE (id = @id)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chinhanh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="id" ColumnName="id" DataSourceName="erpharma.dbo.dmnguonvon" DataTypeServer="decimal" DbType="Decimal" Direction="Input" ParameterName="@id" Precision="18" ProviderType="Decimal" Scale="0" Size="9" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ma" DataSetColumn="ma" />
              <Mapping SourceColumn="ten" DataSetColumn="ten" />
              <Mapping SourceColumn="chinhanh" DataSetColumn="chinhanh" />
              <Mapping SourceColumn="tinhtrang" DataSetColumn="tinhtrang" />
              <Mapping SourceColumn="id" DataSetColumn="id" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="dmnhanvienbanhangTableAdapter" GeneratorDataComponentClassName="dmnhanvienbanhangTableAdapter" Name="dmnhanvienbanhang" UserDataComponentName="dmnhanvienbanhangTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="erpharmaConnectionString (MySettings)" DbObjectName="erpharma.dbo.dmnhanvienbanhang" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[dmnhanvienbanhang] WHERE (([ma] = @Original_ma) AND ([ten] = @Original_ten) AND ([manhomnv] = @Original_manhomnv) AND ((@IsNull_masub = 1 AND [masub] IS NULL) OR ([masub] = @Original_masub)) AND ((@IsNull_chinhanh = 1 AND [chinhanh] IS NULL) OR ([chinhanh] = @Original_chinhanh)) AND ([tinhtrang] = @Original_tinhtrang) AND ([id] = @Original_id))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_manhomnv" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="manhomnv" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_masub" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="masub" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_masub" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="masub" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chinhanh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[dmnhanvienbanhang] ([ma], [ten], [manhomnv], [masub], [chinhanh], [tinhtrang]) VALUES (@ma, @ten, @manhomnv, @masub, @chinhanh, @tinhtrang);
SELECT ma, ten, manhomnv, masub, chinhanh, tinhtrang, id FROM dmnhanvienbanhang WHERE (id = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@manhomnv" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="manhomnv" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@masub" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="masub" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT ma, ten, manhomnv, masub, chinhanh, tinhtrang, id FROM dbo.dmnhanvienbanhang</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[dmnhanvienbanhang] SET [ma] = @ma, [ten] = @ten, [manhomnv] = @manhomnv, [masub] = @masub, [chinhanh] = @chinhanh, [tinhtrang] = @tinhtrang WHERE (([ma] = @Original_ma) AND ([ten] = @Original_ten) AND ([manhomnv] = @Original_manhomnv) AND ((@IsNull_masub = 1 AND [masub] IS NULL) OR ([masub] = @Original_masub)) AND ((@IsNull_chinhanh = 1 AND [chinhanh] IS NULL) OR ([chinhanh] = @Original_chinhanh)) AND ([tinhtrang] = @Original_tinhtrang) AND ([id] = @Original_id));
SELECT ma, ten, manhomnv, masub, chinhanh, tinhtrang, id FROM dmnhanvienbanhang WHERE (id = @id)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@manhomnv" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="manhomnv" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@masub" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="masub" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_manhomnv" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="manhomnv" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_masub" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="masub" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_masub" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="masub" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chinhanh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="id" ColumnName="id" DataSourceName="erpharma.dbo.dmnhanvienbanhang" DataTypeServer="decimal" DbType="Decimal" Direction="Input" ParameterName="@id" Precision="18" ProviderType="Decimal" Scale="0" Size="9" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ma" DataSetColumn="ma" />
              <Mapping SourceColumn="ten" DataSetColumn="ten" />
              <Mapping SourceColumn="manhomnv" DataSetColumn="manhomnv" />
              <Mapping SourceColumn="masub" DataSetColumn="masub" />
              <Mapping SourceColumn="chinhanh" DataSetColumn="chinhanh" />
              <Mapping SourceColumn="tinhtrang" DataSetColumn="tinhtrang" />
              <Mapping SourceColumn="id" DataSetColumn="id" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="dmnhomnhanvienTableAdapter" GeneratorDataComponentClassName="dmnhomnhanvienTableAdapter" Name="dmnhomnhanvien" UserDataComponentName="dmnhomnhanvienTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="erpharmaConnectionString (MySettings)" DbObjectName="erpharma.dbo.dmnhomnhanvien" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[dmnhomnhanvien] WHERE (([ma] = @Original_ma) AND ([ten] = @Original_ten) AND ((@IsNull_chinhanh = 1 AND [chinhanh] IS NULL) OR ([chinhanh] = @Original_chinhanh)) AND ([tinhtrang] = @Original_tinhtrang) AND ([id] = @Original_id))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chinhanh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[dmnhomnhanvien] ([ma], [ten], [chinhanh], [tinhtrang]) VALUES (@ma, @ten, @chinhanh, @tinhtrang);
SELECT ma, ten, chinhanh, tinhtrang, id FROM dmnhomnhanvien WHERE (id = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT ma, ten, chinhanh, tinhtrang, id FROM dbo.dmnhomnhanvien</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[dmnhomnhanvien] SET [ma] = @ma, [ten] = @ten, [chinhanh] = @chinhanh, [tinhtrang] = @tinhtrang WHERE (([ma] = @Original_ma) AND ([ten] = @Original_ten) AND ((@IsNull_chinhanh = 1 AND [chinhanh] IS NULL) OR ([chinhanh] = @Original_chinhanh)) AND ([tinhtrang] = @Original_tinhtrang) AND ([id] = @Original_id));
SELECT ma, ten, chinhanh, tinhtrang, id FROM dmnhomnhanvien WHERE (id = @id)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chinhanh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="id" ColumnName="id" DataSourceName="erpharma.dbo.dmnhomnhanvien" DataTypeServer="decimal" DbType="Decimal" Direction="Input" ParameterName="@id" Precision="18" ProviderType="Decimal" Scale="0" Size="9" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ma" DataSetColumn="ma" />
              <Mapping SourceColumn="ten" DataSetColumn="ten" />
              <Mapping SourceColumn="chinhanh" DataSetColumn="chinhanh" />
              <Mapping SourceColumn="tinhtrang" DataSetColumn="tinhtrang" />
              <Mapping SourceColumn="id" DataSetColumn="id" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="dmnhomvattuTableAdapter" GeneratorDataComponentClassName="dmnhomvattuTableAdapter" Name="dmnhomvattu" UserDataComponentName="dmnhomvattuTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="erpharmaConnectionString (MySettings)" DbObjectName="erpharma.dbo.dmnhomvattu" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[dmnhomvattu] WHERE (([ma] = @Original_ma) AND ([ten] = @Original_ten) AND ((@IsNull_chinhanh = 1 AND [chinhanh] IS NULL) OR ([chinhanh] = @Original_chinhanh)) AND ([tinhtrang] = @Original_tinhtrang) AND ([id] = @Original_id))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chinhanh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[dmnhomvattu] ([ma], [ten], [chinhanh], [tinhtrang]) VALUES (@ma, @ten, @chinhanh, @tinhtrang);
SELECT ma, ten, chinhanh, tinhtrang, id FROM dmnhomvattu WHERE (id = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT ma, ten, chinhanh, tinhtrang, id FROM dbo.dmnhomvattu</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[dmnhomvattu] SET [ma] = @ma, [ten] = @ten, [chinhanh] = @chinhanh, [tinhtrang] = @tinhtrang WHERE (([ma] = @Original_ma) AND ([ten] = @Original_ten) AND ((@IsNull_chinhanh = 1 AND [chinhanh] IS NULL) OR ([chinhanh] = @Original_chinhanh)) AND ([tinhtrang] = @Original_tinhtrang) AND ([id] = @Original_id));
SELECT ma, ten, chinhanh, tinhtrang, id FROM dmnhomvattu WHERE (id = @id)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chinhanh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="id" ColumnName="id" DataSourceName="erpharma.dbo.dmnhomvattu" DataTypeServer="decimal" DbType="Decimal" Direction="Input" ParameterName="@id" Precision="18" ProviderType="Decimal" Scale="0" Size="9" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ma" DataSetColumn="ma" />
              <Mapping SourceColumn="ten" DataSetColumn="ten" />
              <Mapping SourceColumn="chinhanh" DataSetColumn="chinhanh" />
              <Mapping SourceColumn="tinhtrang" DataSetColumn="tinhtrang" />
              <Mapping SourceColumn="id" DataSetColumn="id" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="dmphongbanTableAdapter" GeneratorDataComponentClassName="dmphongbanTableAdapter" Name="dmphongban" UserDataComponentName="dmphongbanTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="erpharmaConnectionString (MySettings)" DbObjectName="erpharma.dbo.dmphongban" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[dmphongban] WHERE (([ma] = @Original_ma) AND ((@IsNull_ten = 1 AND [ten] IS NULL) OR ([ten] = @Original_ten)) AND ((@IsNull_maphongbancha = 1 AND [maphongbancha] IS NULL) OR ([maphongbancha] = @Original_maphongbancha)) AND ((@IsNull_dienthoai = 1 AND [dienthoai] IS NULL) OR ([dienthoai] = @Original_dienthoai)) AND ((@IsNull_diachi = 1 AND [diachi] IS NULL) OR ([diachi] = @Original_diachi)) AND ((@IsNull_ghichu = 1 AND [ghichu] IS NULL) OR ([ghichu] = @Original_ghichu)) AND ((@IsNull_chinhanh = 1 AND [chinhanh] IS NULL) OR ([chinhanh] = @Original_chinhanh)) AND ([tinhtrang] = @Original_tinhtrang) AND ([id] = @Original_id))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ten" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_maphongbancha" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="maphongbancha" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_maphongbancha" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="maphongbancha" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_dienthoai" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="dienthoai" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_dienthoai" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="dienthoai" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_diachi" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="diachi" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_diachi" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="diachi" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ghichu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ghichu" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ghichu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ghichu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chinhanh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[dmphongban] ([ma], [ten], [maphongbancha], [dienthoai], [diachi], [ghichu], [chinhanh], [tinhtrang]) VALUES (@ma, @ten, @maphongbancha, @dienthoai, @diachi, @ghichu, @chinhanh, @tinhtrang);
SELECT ma, ten, maphongbancha, dienthoai, diachi, ghichu, chinhanh, tinhtrang, id FROM dmphongban WHERE (id = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@maphongbancha" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="maphongbancha" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@dienthoai" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="dienthoai" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@diachi" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="diachi" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ghichu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ghichu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT ma, ten, maphongbancha, dienthoai, diachi, ghichu, chinhanh, tinhtrang, id FROM dbo.dmphongban</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[dmphongban] SET [ma] = @ma, [ten] = @ten, [maphongbancha] = @maphongbancha, [dienthoai] = @dienthoai, [diachi] = @diachi, [ghichu] = @ghichu, [chinhanh] = @chinhanh, [tinhtrang] = @tinhtrang WHERE (([ma] = @Original_ma) AND ((@IsNull_ten = 1 AND [ten] IS NULL) OR ([ten] = @Original_ten)) AND ((@IsNull_maphongbancha = 1 AND [maphongbancha] IS NULL) OR ([maphongbancha] = @Original_maphongbancha)) AND ((@IsNull_dienthoai = 1 AND [dienthoai] IS NULL) OR ([dienthoai] = @Original_dienthoai)) AND ((@IsNull_diachi = 1 AND [diachi] IS NULL) OR ([diachi] = @Original_diachi)) AND ((@IsNull_ghichu = 1 AND [ghichu] IS NULL) OR ([ghichu] = @Original_ghichu)) AND ((@IsNull_chinhanh = 1 AND [chinhanh] IS NULL) OR ([chinhanh] = @Original_chinhanh)) AND ([tinhtrang] = @Original_tinhtrang) AND ([id] = @Original_id));
SELECT ma, ten, maphongbancha, dienthoai, diachi, ghichu, chinhanh, tinhtrang, id FROM dmphongban WHERE (id = @id)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@maphongbancha" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="maphongbancha" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@dienthoai" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="dienthoai" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@diachi" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="diachi" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ghichu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ghichu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ten" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_maphongbancha" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="maphongbancha" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_maphongbancha" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="maphongbancha" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_dienthoai" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="dienthoai" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_dienthoai" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="dienthoai" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_diachi" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="diachi" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_diachi" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="diachi" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ghichu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ghichu" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ghichu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ghichu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chinhanh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="id" ColumnName="id" DataSourceName="erpharma.dbo.dmphongban" DataTypeServer="decimal" DbType="Decimal" Direction="Input" ParameterName="@id" Precision="18" ProviderType="Decimal" Scale="0" Size="9" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ma" DataSetColumn="ma" />
              <Mapping SourceColumn="ten" DataSetColumn="ten" />
              <Mapping SourceColumn="maphongbancha" DataSetColumn="maphongbancha" />
              <Mapping SourceColumn="dienthoai" DataSetColumn="dienthoai" />
              <Mapping SourceColumn="diachi" DataSetColumn="diachi" />
              <Mapping SourceColumn="ghichu" DataSetColumn="ghichu" />
              <Mapping SourceColumn="chinhanh" DataSetColumn="chinhanh" />
              <Mapping SourceColumn="tinhtrang" DataSetColumn="tinhtrang" />
              <Mapping SourceColumn="id" DataSetColumn="id" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="dmquocgiaTableAdapter" GeneratorDataComponentClassName="dmquocgiaTableAdapter" Name="dmquocgia" UserDataComponentName="dmquocgiaTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="erpharmaConnectionString (MySettings)" DbObjectName="erpharma.dbo.dmquocgia" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[dmquocgia] WHERE (([ma] = @Original_ma) AND ([ten] = @Original_ten) AND ((@IsNull_chinhanh = 1 AND [chinhanh] IS NULL) OR ([chinhanh] = @Original_chinhanh)) AND ([tinhtrang] = @Original_tinhtrang) AND ([id] = @Original_id))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chinhanh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[dmquocgia] ([ma], [ten], [chinhanh], [tinhtrang]) VALUES (@ma, @ten, @chinhanh, @tinhtrang);
SELECT ma, ten, chinhanh, tinhtrang, id FROM dmquocgia WHERE (id = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT ma, ten, chinhanh, tinhtrang, id FROM dbo.dmquocgia</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[dmquocgia] SET [ma] = @ma, [ten] = @ten, [chinhanh] = @chinhanh, [tinhtrang] = @tinhtrang WHERE (([ma] = @Original_ma) AND ([ten] = @Original_ten) AND ((@IsNull_chinhanh = 1 AND [chinhanh] IS NULL) OR ([chinhanh] = @Original_chinhanh)) AND ([tinhtrang] = @Original_tinhtrang) AND ([id] = @Original_id));
SELECT ma, ten, chinhanh, tinhtrang, id FROM dmquocgia WHERE (id = @id)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chinhanh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="id" ColumnName="id" DataSourceName="erpharma.dbo.dmquocgia" DataTypeServer="decimal" DbType="Decimal" Direction="Input" ParameterName="@id" Precision="18" ProviderType="Decimal" Scale="0" Size="9" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ma" DataSetColumn="ma" />
              <Mapping SourceColumn="ten" DataSetColumn="ten" />
              <Mapping SourceColumn="chinhanh" DataSetColumn="chinhanh" />
              <Mapping SourceColumn="tinhtrang" DataSetColumn="tinhtrang" />
              <Mapping SourceColumn="id" DataSetColumn="id" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="dmtaikhoannganhangTableAdapter" GeneratorDataComponentClassName="dmtaikhoannganhangTableAdapter" Name="dmtaikhoannganhang" UserDataComponentName="dmtaikhoannganhangTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="erpharmaConnectionString (MySettings)" DbObjectName="erpharma.dbo.dmtaikhoannganhang" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[dmtaikhoannganhang] WHERE (([ma] = @Original_ma) AND ([manganhang] = @Original_manganhang) AND ([makhachhang] = @Original_makhachhang) AND ((@IsNull_noidung = 1 AND [noidung] IS NULL) OR ([noidung] = @Original_noidung)) AND ((@IsNull_taikhoankt = 1 AND [taikhoankt] IS NULL) OR ([taikhoankt] = @Original_taikhoankt)) AND ([matinh] = @Original_matinh) AND ((@IsNull_maloaitien = 1 AND [maloaitien] IS NULL) OR ([maloaitien] = @Original_maloaitien)) AND ((@IsNull_chinhanh = 1 AND [chinhanh] IS NULL) OR ([chinhanh] = @Original_chinhanh)) AND ([tinhtrang] = @Original_tinhtrang) AND ([id] = @Original_id))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_manganhang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="manganhang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_makhachhang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="makhachhang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_noidung" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="noidung" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_noidung" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="noidung" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_taikhoankt" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="taikhoankt" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_taikhoankt" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="taikhoankt" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_matinh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="matinh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_maloaitien" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="maloaitien" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_maloaitien" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="maloaitien" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chinhanh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[dmtaikhoannganhang] ([ma], [manganhang], [makhachhang], [noidung], [taikhoankt], [matinh], [maloaitien], [chinhanh], [tinhtrang]) VALUES (@ma, @manganhang, @makhachhang, @noidung, @taikhoankt, @matinh, @maloaitien, @chinhanh, @tinhtrang);
SELECT ma, manganhang, makhachhang, noidung, taikhoankt, matinh, maloaitien, chinhanh, tinhtrang, id FROM dmtaikhoannganhang WHERE (id = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@manganhang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="manganhang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@makhachhang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="makhachhang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@noidung" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="noidung" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@taikhoankt" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="taikhoankt" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@matinh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="matinh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@maloaitien" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="maloaitien" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT ma, manganhang, makhachhang, noidung, taikhoankt, matinh, maloaitien, chinhanh, tinhtrang, id FROM dbo.dmtaikhoannganhang</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[dmtaikhoannganhang] SET [ma] = @ma, [manganhang] = @manganhang, [makhachhang] = @makhachhang, [noidung] = @noidung, [taikhoankt] = @taikhoankt, [matinh] = @matinh, [maloaitien] = @maloaitien, [chinhanh] = @chinhanh, [tinhtrang] = @tinhtrang WHERE (([ma] = @Original_ma) AND ([manganhang] = @Original_manganhang) AND ([makhachhang] = @Original_makhachhang) AND ((@IsNull_noidung = 1 AND [noidung] IS NULL) OR ([noidung] = @Original_noidung)) AND ((@IsNull_taikhoankt = 1 AND [taikhoankt] IS NULL) OR ([taikhoankt] = @Original_taikhoankt)) AND ([matinh] = @Original_matinh) AND ((@IsNull_maloaitien = 1 AND [maloaitien] IS NULL) OR ([maloaitien] = @Original_maloaitien)) AND ((@IsNull_chinhanh = 1 AND [chinhanh] IS NULL) OR ([chinhanh] = @Original_chinhanh)) AND ([tinhtrang] = @Original_tinhtrang) AND ([id] = @Original_id));
SELECT ma, manganhang, makhachhang, noidung, taikhoankt, matinh, maloaitien, chinhanh, tinhtrang, id FROM dmtaikhoannganhang WHERE (id = @id)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@manganhang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="manganhang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@makhachhang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="makhachhang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@noidung" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="noidung" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@taikhoankt" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="taikhoankt" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@matinh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="matinh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@maloaitien" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="maloaitien" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_manganhang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="manganhang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_makhachhang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="makhachhang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_noidung" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="noidung" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_noidung" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="noidung" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_taikhoankt" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="taikhoankt" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_taikhoankt" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="taikhoankt" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_matinh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="matinh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_maloaitien" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="maloaitien" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_maloaitien" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="maloaitien" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chinhanh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="id" ColumnName="id" DataSourceName="erpharma.dbo.dmtaikhoannganhang" DataTypeServer="decimal" DbType="Decimal" Direction="Input" ParameterName="@id" Precision="18" ProviderType="Decimal" Scale="0" Size="9" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ma" DataSetColumn="ma" />
              <Mapping SourceColumn="manganhang" DataSetColumn="manganhang" />
              <Mapping SourceColumn="makhachhang" DataSetColumn="makhachhang" />
              <Mapping SourceColumn="noidung" DataSetColumn="noidung" />
              <Mapping SourceColumn="taikhoankt" DataSetColumn="taikhoankt" />
              <Mapping SourceColumn="matinh" DataSetColumn="matinh" />
              <Mapping SourceColumn="maloaitien" DataSetColumn="maloaitien" />
              <Mapping SourceColumn="chinhanh" DataSetColumn="chinhanh" />
              <Mapping SourceColumn="tinhtrang" DataSetColumn="tinhtrang" />
              <Mapping SourceColumn="id" DataSetColumn="id" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="dmthoigianTableAdapter" GeneratorDataComponentClassName="dmthoigianTableAdapter" Name="dmthoigian" UserDataComponentName="dmthoigianTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="erpharmaConnectionString (MySettings)" DbObjectName="erpharma.dbo.dmthoigian" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[dmthoigian] WHERE (([ma] = @Original_ma) AND ([ten] = @Original_ten) AND ([id] = @Original_id))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[dmthoigian] ([ma], [ten]) VALUES (@ma, @ten);
SELECT ma, ten, id FROM dmthoigian WHERE (id = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT ma, ten, id FROM dbo.dmthoigian</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[dmthoigian] SET [ma] = @ma, [ten] = @ten WHERE (([ma] = @Original_ma) AND ([ten] = @Original_ten) AND ([id] = @Original_id));
SELECT ma, ten, id FROM dmthoigian WHERE (id = @id)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="id" ColumnName="id" DataSourceName="erpharma.dbo.dmthoigian" DataTypeServer="numeric" DbType="Decimal" Direction="Input" ParameterName="@id" Precision="18" ProviderType="Decimal" Scale="0" Size="9" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ma" DataSetColumn="ma" />
              <Mapping SourceColumn="ten" DataSetColumn="ten" />
              <Mapping SourceColumn="id" DataSetColumn="id" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="dmtinhtrangTableAdapter" GeneratorDataComponentClassName="dmtinhtrangTableAdapter" Name="dmtinhtrang" UserDataComponentName="dmtinhtrangTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="erpharmaConnectionString (MySettings)" DbObjectName="erpharma.dbo.dmtinhtrang" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[dmtinhtrang] ([ma], [ten]) VALUES (@ma, @ten)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT ma, ten FROM dbo.dmtinhtrang</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ma" DataSetColumn="ma" />
              <Mapping SourceColumn="ten" DataSetColumn="ten" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="dmtinhtrangphieuTableAdapter" GeneratorDataComponentClassName="dmtinhtrangphieuTableAdapter" Name="dmtinhtrangphieu" UserDataComponentName="dmtinhtrangphieuTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="erpharmaConnectionString (MySettings)" DbObjectName="erpharma.dbo.dmtinhtrangphieu" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[dmtinhtrangphieu] ([ma], [ten]) VALUES (@ma, @ten)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT ma, ten FROM dbo.dmtinhtrangphieu</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ma" DataSetColumn="ma" />
              <Mapping SourceColumn="ten" DataSetColumn="ten" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="dmtrangthaiTableAdapter" GeneratorDataComponentClassName="dmtrangthaiTableAdapter" Name="dmtrangthai" UserDataComponentName="dmtrangthaiTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="erpharmaConnectionString (MySettings)" DbObjectName="erpharma.dbo.dmtrangthai" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[dmtrangthai] WHERE (([ma] = @Original_ma) AND ([ten] = @Original_ten) AND ([id] = @Original_id))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[dmtrangthai] ([ma], [ten]) VALUES (@ma, @ten);
SELECT ma, ten, id FROM dmtrangthai WHERE (id = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT ma, ten, id FROM dbo.dmtrangthai</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[dmtrangthai] SET [ma] = @ma, [ten] = @ten WHERE (([ma] = @Original_ma) AND ([ten] = @Original_ten) AND ([id] = @Original_id));
SELECT ma, ten, id FROM dmtrangthai WHERE (id = @id)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="id" ColumnName="id" DataSourceName="erpharma.dbo.dmtrangthai" DataTypeServer="decimal" DbType="Decimal" Direction="Input" ParameterName="@id" Precision="18" ProviderType="Decimal" Scale="0" Size="9" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ma" DataSetColumn="ma" />
              <Mapping SourceColumn="ten" DataSetColumn="ten" />
              <Mapping SourceColumn="id" DataSetColumn="id" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="dmuynhiemchiTableAdapter" GeneratorDataComponentClassName="dmuynhiemchiTableAdapter" Name="dmuynhiemchi" UserDataComponentName="dmuynhiemchiTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="erpharmaConnectionString (MySettings)" DbObjectName="erpharma.dbo.dmuynhiemchi" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[dmuynhiemchi] WHERE (([ma] = @Original_ma) AND ([ten] = @Original_ten) AND ((@IsNull_tenreport = 1 AND [tenreport] IS NULL) OR ([tenreport] = @Original_tenreport)) AND ((@IsNull_chinhanh = 1 AND [chinhanh] IS NULL) OR ([chinhanh] = @Original_chinhanh)) AND ([tinhtrang] = @Original_tinhtrang) AND ([id] = @Original_id))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tenreport" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tenreport" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tenreport" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tenreport" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chinhanh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[dmuynhiemchi] ([ma], [ten], [tenreport], [chinhanh], [tinhtrang]) VALUES (@ma, @ten, @tenreport, @chinhanh, @tinhtrang);
SELECT ma, ten, tenreport, chinhanh, tinhtrang, id FROM dmuynhiemchi WHERE (id = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tenreport" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tenreport" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT ma, ten, tenreport, chinhanh, tinhtrang, id FROM dbo.dmuynhiemchi</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[dmuynhiemchi] SET [ma] = @ma, [ten] = @ten, [tenreport] = @tenreport, [chinhanh] = @chinhanh, [tinhtrang] = @tinhtrang WHERE (([ma] = @Original_ma) AND ([ten] = @Original_ten) AND ((@IsNull_tenreport = 1 AND [tenreport] IS NULL) OR ([tenreport] = @Original_tenreport)) AND ((@IsNull_chinhanh = 1 AND [chinhanh] IS NULL) OR ([chinhanh] = @Original_chinhanh)) AND ([tinhtrang] = @Original_tinhtrang) AND ([id] = @Original_id));
SELECT ma, ten, tenreport, chinhanh, tinhtrang, id FROM dmuynhiemchi WHERE (id = @id)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tenreport" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tenreport" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tenreport" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tenreport" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tenreport" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tenreport" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chinhanh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="id" ColumnName="id" DataSourceName="erpharma.dbo.dmuynhiemchi" DataTypeServer="decimal" DbType="Decimal" Direction="Input" ParameterName="@id" Precision="18" ProviderType="Decimal" Scale="0" Size="9" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ma" DataSetColumn="ma" />
              <Mapping SourceColumn="ten" DataSetColumn="ten" />
              <Mapping SourceColumn="tenreport" DataSetColumn="tenreport" />
              <Mapping SourceColumn="chinhanh" DataSetColumn="chinhanh" />
              <Mapping SourceColumn="tinhtrang" DataSetColumn="tinhtrang" />
              <Mapping SourceColumn="id" DataSetColumn="id" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="dmvattuTableAdapter" GeneratorDataComponentClassName="dmvattuTableAdapter" Name="dmvattu" UserDataComponentName="dmvattuTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="erpharmaConnectionString (MySettings)" DbObjectName="erpharma.dbo.dmvattu" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[dmvattu] WHERE (([ma] = @Original_ma) AND ([ten1] = @Original_ten1) AND ((@IsNull_ten2 = 1 AND [ten2] IS NULL) OR ([ten2] = @Original_ten2)) AND ((@IsNull_ten3 = 1 AND [ten3] IS NULL) OR ([ten3] = @Original_ten3)) AND ([dvt1] = @Original_dvt1) AND ((@IsNull_dvt2 = 1 AND [dvt2] IS NULL) OR ([dvt2] = @Original_dvt2)) AND ((@IsNull_manhom = 1 AND [manhom] IS NULL) OR ([manhom] = @Original_manhom)) AND ((@IsNull_loaivt = 1 AND [loaivt] IS NULL) OR ([loaivt] = @Original_loaivt)) AND ((@IsNull_thuevat = 1 AND [thuevat] IS NULL) OR ([thuevat] = @Original_thuevat)) AND ((@IsNull_sotaikhoanvat = 1 AND [sotaikhoanvat] IS NULL) OR ([sotaikhoanvat] = @Original_sotaikhoanvat)) AND ((@IsNull_heso = 1 AND [heso] IS NULL) OR ([heso] = @Original_heso)) AND ((@IsNull_quicach = 1 AND [quicach] IS NULL) OR ([quicach] = @Original_quicach)) AND ((@IsNull_quydoikg = 1 AND [quydoikg] IS NULL) OR ([quydoikg] = @Original_quydoikg)) AND ((@IsNull_thuettdb = 1 AND [thuettdb] IS NULL) OR ([thuettdb] = @Original_thuettdb)) AND ((@IsNull_sotaikhoanttdv = 1 AND [sotaikhoanttdv] IS NULL) OR ([sotaikhoanttdv] = @Original_sotaikhoanttdv)) AND ((@IsNull_taikhoangv = 1 AND [taikhoangv] IS NULL) OR ([taikhoangv] = @Original_taikhoangv)) AND ((@IsNull_taikhoankho = 1 AND [taikhoankho] IS NULL) OR ([taikhoankho] = @Original_taikhoankho)) AND ((@IsNull_dungbom = 1 AND [dungbom] IS NULL) OR ([dungbom] = @Original_dungbom)) AND ((@IsNull_songayhethan = 1 AND [songayhethan] IS NULL) OR ([songayhethan] = @Original_songayhethan)) AND ((@IsNull_songaytruochan = 1 AND [songaytruochan] IS NULL) OR ([songaytruochan] = @Original_songaytruochan)) AND ((@IsNull_dungserial = 1 AND [dungserial] IS NULL) OR ([dungserial] = @Original_dungserial)) AND ((@IsNull_songaychodoi = 1 AND [songaychodoi] IS NULL) OR ([songaychodoi] = @Original_songaychodoi)) AND ((@IsNull_songaybaohanh = 1 AND [songaybaohanh] IS NULL) OR ([songaybaohanh] = @Original_songaybaohanh)) AND ((@IsNull_dientich = 1 AND [dientich] IS NULL) OR ([dientich] = @Original_dientich)) AND ((@IsNull_chieucao = 1 AND [chieucao] IS NULL) OR ([chieucao] = @Original_chieucao)) AND ((@IsNull_thoigiannhaphang = 1 AND [thoigiannhaphang] IS NULL) OR ([thoigiannhaphang] = @Original_thoigiannhaphang)) AND ((@IsNull_thoigiankiemnghiem = 1 AND [thoigiankiemnghiem] IS NULL) OR ([thoigiankiemnghiem] = @Original_thoigiankiemnghiem)) AND ((@IsNull_thoigianxuly = 1 AND [thoigianxuly] IS NULL) OR ([thoigianxuly] = @Original_thoigianxuly)) AND ((@IsNull_luukho = 1 AND [luukho] IS NULL) OR ([luukho] = @Original_luukho)) AND ((@IsNull_giaconngoai = 1 AND [giaconngoai] IS NULL) OR ([giaconngoai] = @Original_giaconngoai)) AND ((@IsNull_mavach = 1 AND [mavach] IS NULL) OR ([mavach] = @Original_mavach)) AND ((@IsNull_macu = 1 AND [macu] IS NULL) OR ([macu] = @Original_macu)) AND ((@IsNull_motakhac = 1 AND [motakhac] IS NULL) OR ([motakhac] = @Original_motakhac)) AND ((@IsNull_donvitinhphu = 1 AND [donvitinhphu] IS NULL) OR ([donvitinhphu] = @Original_donvitinhphu)) AND ((@IsNull_model = 1 AND [model] IS NULL) OR ([model] = @Original_model)) AND ((@IsNull_tilequidoi = 1 AND [tilequidoi] IS NULL) OR ([tilequidoi] = @Original_tilequidoi)) AND ((@IsNull_maxuong = 1 AND [maxuong] IS NULL) OR ([maxuong] = @Original_maxuong)) AND ((@IsNull_chitieuhamluong = 1 AND [chitieuhamluong] IS NULL) OR ([chitieuhamluong] = @Original_chitieuhamluong)) AND ((@IsNull_dvthamluong = 1 AND [dvthamluong] IS NULL) OR ([dvthamluong] = @Original_dvthamluong)) AND ((@IsNull_chitieudoam = 1 AND [chitieudoam] IS NULL) OR ([chitieudoam] = @Original_chitieudoam)) AND ((@IsNull_dvtdoam = 1 AND [dvtdoam] IS NULL) OR ([dvtdoam] = @Original_dvtdoam)) AND ((@IsNull_mancc = 1 AND [mancc] IS NULL) OR ([mancc] = @Original_mancc)) AND ((@IsNull_maloaibaobi = 1 AND [maloaibaobi] IS NULL) OR ([maloaibaobi] = @Original_maloaibaobi)) AND ((@IsNull_mabanthanhpham = 1 AND [mabanthanhpham] IS NULL) OR ([mabanthanhpham] = @Original_mabanthanhpham)) AND ((@IsNull_tyle = 1 AND [tyle] IS NULL) OR ([tyle] = @Original_tyle)) AND ((@IsNull_machatluong = 1 AND [machatluong] IS NULL) OR ([machatluong] = @Original_machatluong)) AND ((@IsNull_taduoc = 1 AND [taduoc] IS NULL) OR ([taduoc] = @Original_taduoc)) AND ((@IsNull_sodangky = 1 AND [sodangky] IS NULL) OR ([sodangky] = @Original_sodangky)) AND ((@IsNull_tieuchuanchatluong = 1 AND [tieuchuanchatluong] IS NULL) OR ([tieuchuanchatluong] = @Original_tieuchuanchatluong)) AND ((@IsNull_trongluonggop = 1 AND [trongluonggop] IS NULL) OR ([trongluonggop] = @Original_trongluonggop)) AND ((@IsNull_khoiluongtinh = 1 AND [khoiluongtinh] IS NULL) OR ([khoiluongtinh] = @Original_khoiluongtinh)) AND ((@IsNull_khomacdinh = 1 AND [khomacdinh] IS NULL) OR ([khomacdinh] = @Original_khomacdinh)) AND ((@IsNull_khoiluongdvsx = 1 AND [khoiluongdvsx] IS NULL) OR ([khoiluongdvsx] = @Original_khoiluongdvsx)) AND ((@IsNull_cokiemnghiem = 1 AND [cokiemnghiem] IS NULL) OR ([cokiemnghiem] = @Original_cokiemnghiem)) AND ((@IsNull_cosudunghandung = 1 AND [cosudunghandung] IS NULL) OR ([cosudunghandung] = @Original_cosudunghandung)) AND ((@IsNull_handung = 1 AND [handung] IS NULL) OR ([handung] = @Original_handung)) AND ((@IsNull_chinhanh = 1 AND [chinhanh] IS NULL) OR ([chinhanh] = @Original_chinhanh)) AND ([tinhtrang] = @Original_tinhtrang) AND ([id] = @Original_id))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ten1" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten1" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ten2" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ten2" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ten2" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten2" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ten3" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ten3" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ten3" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten3" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_dvt1" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="dvt1" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_dvt2" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="dvt2" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_dvt2" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="dvt2" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_manhom" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="manhom" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_manhom" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="manhom" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_loaivt" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="loaivt" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_loaivt" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="loaivt" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_thuevat" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="thuevat" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_thuevat" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="thuevat" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_sotaikhoanvat" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="sotaikhoanvat" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_sotaikhoanvat" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sotaikhoanvat" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_heso" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="heso" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_heso" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="heso" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_quicach" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="quicach" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_quicach" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="quicach" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_quydoikg" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="quydoikg" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_quydoikg" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="quydoikg" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_thuettdb" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="thuettdb" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_thuettdb" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="thuettdb" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_sotaikhoanttdv" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="sotaikhoanttdv" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_sotaikhoanttdv" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sotaikhoanttdv" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_taikhoangv" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="taikhoangv" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_taikhoangv" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="taikhoangv" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_taikhoankho" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="taikhoankho" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_taikhoankho" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="taikhoankho" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_dungbom" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="dungbom" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_dungbom" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="dungbom" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_songayhethan" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="songayhethan" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_songayhethan" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="songayhethan" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_songaytruochan" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="songaytruochan" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_songaytruochan" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="songaytruochan" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_dungserial" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="dungserial" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_dungserial" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="dungserial" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_songaychodoi" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="songaychodoi" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_songaychodoi" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="songaychodoi" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_songaybaohanh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="songaybaohanh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_songaybaohanh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="songaybaohanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_dientich" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="dientich" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_dientich" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="dientich" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chieucao" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chieucao" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_chieucao" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="chieucao" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_thoigiannhaphang" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="thoigiannhaphang" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_thoigiannhaphang" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="thoigiannhaphang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_thoigiankiemnghiem" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="thoigiankiemnghiem" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_thoigiankiemnghiem" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="thoigiankiemnghiem" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_thoigianxuly" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="thoigianxuly" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_thoigianxuly" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="thoigianxuly" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_luukho" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="luukho" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_luukho" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="luukho" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_giaconngoai" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="giaconngoai" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_giaconngoai" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="giaconngoai" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_mavach" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="mavach" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_mavach" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="mavach" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_macu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="macu" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_macu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="macu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_motakhac" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="motakhac" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_motakhac" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="motakhac" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_donvitinhphu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="donvitinhphu" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_donvitinhphu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="donvitinhphu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_model" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="model" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_model" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="model" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tilequidoi" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tilequidoi" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_tilequidoi" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="tilequidoi" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_maxuong" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="maxuong" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_maxuong" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="maxuong" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chitieuhamluong" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chitieuhamluong" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_chitieuhamluong" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="chitieuhamluong" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_dvthamluong" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="dvthamluong" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_dvthamluong" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="dvthamluong" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chitieudoam" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chitieudoam" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_chitieudoam" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="chitieudoam" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_dvtdoam" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="dvtdoam" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_dvtdoam" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="dvtdoam" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_mancc" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="mancc" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_mancc" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="mancc" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_maloaibaobi" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="maloaibaobi" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_maloaibaobi" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="maloaibaobi" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_mabanthanhpham" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="mabanthanhpham" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_mabanthanhpham" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="mabanthanhpham" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tyle" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tyle" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_tyle" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="tyle" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_machatluong" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="machatluong" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_machatluong" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="machatluong" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_taduoc" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="taduoc" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_taduoc" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="taduoc" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_sodangky" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="sodangky" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_sodangky" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sodangky" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tieuchuanchatluong" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tieuchuanchatluong" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tieuchuanchatluong" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tieuchuanchatluong" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_trongluonggop" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="trongluonggop" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_trongluonggop" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="trongluonggop" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_khoiluongtinh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="khoiluongtinh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_khoiluongtinh" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="khoiluongtinh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_khomacdinh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="khomacdinh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_khomacdinh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="khomacdinh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_khoiluongdvsx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="khoiluongdvsx" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_khoiluongdvsx" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="khoiluongdvsx" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_cokiemnghiem" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="cokiemnghiem" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_cokiemnghiem" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="cokiemnghiem" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_cosudunghandung" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="cosudunghandung" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_cosudunghandung" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="cosudunghandung" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_handung" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="handung" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_handung" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="handung" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chinhanh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[dmvattu] ([ma], [ten1], [ten2], [ten3], [dvt1], [dvt2], [manhom], [loaivt], [thuevat], [sotaikhoanvat], [heso], [quicach], [quydoikg], [thuettdb], [sotaikhoanttdv], [taikhoangv], [taikhoankho], [dungbom], [songayhethan], [songaytruochan], [dungserial], [songaychodoi], [songaybaohanh], [dientich], [chieucao], [thoigiannhaphang], [thoigiankiemnghiem], [thoigianxuly], [luukho], [giaconngoai], [mavach], [macu], [motakhac], [donvitinhphu], [model], [tilequidoi], [maxuong], [chitieuhamluong], [dvthamluong], [chitieudoam], [dvtdoam], [mancc], [maloaibaobi], [mabanthanhpham], [tyle], [machatluong], [taduoc], [sodangky], [tieuchuanchatluong], [trongluonggop], [khoiluongtinh], [khomacdinh], [khoiluongdvsx], [cokiemnghiem], [cosudunghandung], [handung], [chinhanh], [tinhtrang]) VALUES (@ma, @ten1, @ten2, @ten3, @dvt1, @dvt2, @manhom, @loaivt, @thuevat, @sotaikhoanvat, @heso, @quicach, @quydoikg, @thuettdb, @sotaikhoanttdv, @taikhoangv, @taikhoankho, @dungbom, @songayhethan, @songaytruochan, @dungserial, @songaychodoi, @songaybaohanh, @dientich, @chieucao, @thoigiannhaphang, @thoigiankiemnghiem, @thoigianxuly, @luukho, @giaconngoai, @mavach, @macu, @motakhac, @donvitinhphu, @model, @tilequidoi, @maxuong, @chitieuhamluong, @dvthamluong, @chitieudoam, @dvtdoam, @mancc, @maloaibaobi, @mabanthanhpham, @tyle, @machatluong, @taduoc, @sodangky, @tieuchuanchatluong, @trongluonggop, @khoiluongtinh, @khomacdinh, @khoiluongdvsx, @cokiemnghiem, @cosudunghandung, @handung, @chinhanh, @tinhtrang);
SELECT ma, ten1, ten2, ten3, dvt1, dvt2, manhom, loaivt, thuevat, sotaikhoanvat, heso, quicach, quydoikg, thuettdb, sotaikhoanttdv, taikhoangv, taikhoankho, dungbom, songayhethan, songaytruochan, dungserial, songaychodoi, songaybaohanh, dientich, chieucao, thoigiannhaphang, thoigiankiemnghiem, thoigianxuly, luukho, giaconngoai, mavach, macu, motakhac, donvitinhphu, model, tilequidoi, maxuong, chitieuhamluong, dvthamluong, chitieudoam, dvtdoam, mancc, maloaibaobi, mabanthanhpham, tyle, machatluong, taduoc, sodangky, tieuchuanchatluong, trongluonggop, khoiluongtinh, khomacdinh, khoiluongdvsx, cokiemnghiem, cosudunghandung, handung, chinhanh, tinhtrang, id FROM dmvattu WHERE (id = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ten1" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten1" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ten2" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten2" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ten3" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten3" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@dvt1" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="dvt1" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@dvt2" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="dvt2" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@manhom" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="manhom" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@loaivt" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="loaivt" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@thuevat" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="thuevat" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@sotaikhoanvat" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sotaikhoanvat" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@heso" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="heso" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@quicach" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="quicach" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@quydoikg" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="quydoikg" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@thuettdb" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="thuettdb" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@sotaikhoanttdv" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sotaikhoanttdv" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@taikhoangv" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="taikhoangv" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@taikhoankho" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="taikhoankho" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@dungbom" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="dungbom" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@songayhethan" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="songayhethan" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@songaytruochan" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="songaytruochan" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@dungserial" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="dungserial" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@songaychodoi" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="songaychodoi" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@songaybaohanh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="songaybaohanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@dientich" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="dientich" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@chieucao" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="chieucao" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@thoigiannhaphang" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="thoigiannhaphang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@thoigiankiemnghiem" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="thoigiankiemnghiem" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@thoigianxuly" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="thoigianxuly" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@luukho" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="luukho" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@giaconngoai" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="giaconngoai" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@mavach" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="mavach" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@macu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="macu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@motakhac" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="motakhac" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@donvitinhphu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="donvitinhphu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@model" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="model" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@tilequidoi" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="tilequidoi" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@maxuong" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="maxuong" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@chitieuhamluong" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="chitieuhamluong" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@dvthamluong" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="dvthamluong" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@chitieudoam" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="chitieudoam" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@dvtdoam" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="dvtdoam" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@mancc" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="mancc" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@maloaibaobi" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="maloaibaobi" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@mabanthanhpham" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="mabanthanhpham" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@tyle" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="tyle" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@machatluong" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="machatluong" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@taduoc" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="taduoc" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@sodangky" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sodangky" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tieuchuanchatluong" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tieuchuanchatluong" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@trongluonggop" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="trongluonggop" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@khoiluongtinh" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="khoiluongtinh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@khomacdinh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="khomacdinh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@khoiluongdvsx" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="khoiluongdvsx" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@cokiemnghiem" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="cokiemnghiem" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@cosudunghandung" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="cosudunghandung" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@handung" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="handung" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT ma, ten1, ten2, ten3, dvt1, dvt2, manhom, loaivt, thuevat, sotaikhoanvat, heso, quicach, quydoikg, thuettdb, sotaikhoanttdv, taikhoangv, taikhoankho, dungbom, songayhethan, songaytruochan, dungserial, songaychodoi, songaybaohanh, dientich, chieucao, thoigiannhaphang, thoigiankiemnghiem, thoigianxuly, luukho, giaconngoai, mavach, macu, motakhac, donvitinhphu, model, tilequidoi, maxuong, chitieuhamluong, dvthamluong, chitieudoam, dvtdoam, mancc, maloaibaobi, mabanthanhpham, tyle, machatluong, taduoc, sodangky, tieuchuanchatluong, trongluonggop, khoiluongtinh, khomacdinh, khoiluongdvsx, cokiemnghiem, cosudunghandung, handung, chinhanh, tinhtrang, id FROM dbo.dmvattu</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[dmvattu] SET [ma] = @ma, [ten1] = @ten1, [ten2] = @ten2, [ten3] = @ten3, [dvt1] = @dvt1, [dvt2] = @dvt2, [manhom] = @manhom, [loaivt] = @loaivt, [thuevat] = @thuevat, [sotaikhoanvat] = @sotaikhoanvat, [heso] = @heso, [quicach] = @quicach, [quydoikg] = @quydoikg, [thuettdb] = @thuettdb, [sotaikhoanttdv] = @sotaikhoanttdv, [taikhoangv] = @taikhoangv, [taikhoankho] = @taikhoankho, [dungbom] = @dungbom, [songayhethan] = @songayhethan, [songaytruochan] = @songaytruochan, [dungserial] = @dungserial, [songaychodoi] = @songaychodoi, [songaybaohanh] = @songaybaohanh, [dientich] = @dientich, [chieucao] = @chieucao, [thoigiannhaphang] = @thoigiannhaphang, [thoigiankiemnghiem] = @thoigiankiemnghiem, [thoigianxuly] = @thoigianxuly, [luukho] = @luukho, [giaconngoai] = @giaconngoai, [mavach] = @mavach, [macu] = @macu, [motakhac] = @motakhac, [donvitinhphu] = @donvitinhphu, [model] = @model, [tilequidoi] = @tilequidoi, [maxuong] = @maxuong, [chitieuhamluong] = @chitieuhamluong, [dvthamluong] = @dvthamluong, [chitieudoam] = @chitieudoam, [dvtdoam] = @dvtdoam, [mancc] = @mancc, [maloaibaobi] = @maloaibaobi, [mabanthanhpham] = @mabanthanhpham, [tyle] = @tyle, [machatluong] = @machatluong, [taduoc] = @taduoc, [sodangky] = @sodangky, [tieuchuanchatluong] = @tieuchuanchatluong, [trongluonggop] = @trongluonggop, [khoiluongtinh] = @khoiluongtinh, [khomacdinh] = @khomacdinh, [khoiluongdvsx] = @khoiluongdvsx, [cokiemnghiem] = @cokiemnghiem, [cosudunghandung] = @cosudunghandung, [handung] = @handung, [chinhanh] = @chinhanh, [tinhtrang] = @tinhtrang WHERE (([ma] = @Original_ma) AND ([ten1] = @Original_ten1) AND ((@IsNull_ten2 = 1 AND [ten2] IS NULL) OR ([ten2] = @Original_ten2)) AND ((@IsNull_ten3 = 1 AND [ten3] IS NULL) OR ([ten3] = @Original_ten3)) AND ([dvt1] = @Original_dvt1) AND ((@IsNull_dvt2 = 1 AND [dvt2] IS NULL) OR ([dvt2] = @Original_dvt2)) AND ((@IsNull_manhom = 1 AND [manhom] IS NULL) OR ([manhom] = @Original_manhom)) AND ((@IsNull_loaivt = 1 AND [loaivt] IS NULL) OR ([loaivt] = @Original_loaivt)) AND ((@IsNull_thuevat = 1 AND [thuevat] IS NULL) OR ([thuevat] = @Original_thuevat)) AND ((@IsNull_sotaikhoanvat = 1 AND [sotaikhoanvat] IS NULL) OR ([sotaikhoanvat] = @Original_sotaikhoanvat)) AND ((@IsNull_heso = 1 AND [heso] IS NULL) OR ([heso] = @Original_heso)) AND ((@IsNull_quicach = 1 AND [quicach] IS NULL) OR ([quicach] = @Original_quicach)) AND ((@IsNull_quydoikg = 1 AND [quydoikg] IS NULL) OR ([quydoikg] = @Original_quydoikg)) AND ((@IsNull_thuettdb = 1 AND [thuettdb] IS NULL) OR ([thuettdb] = @Original_thuettdb)) AND ((@IsNull_sotaikhoanttdv = 1 AND [sotaikhoanttdv] IS NULL) OR ([sotaikhoanttdv] = @Original_sotaikhoanttdv)) AND ((@IsNull_taikhoangv = 1 AND [taikhoangv] IS NULL) OR ([taikhoangv] = @Original_taikhoangv)) AND ((@IsNull_taikhoankho = 1 AND [taikhoankho] IS NULL) OR ([taikhoankho] = @Original_taikhoankho)) AND ((@IsNull_dungbom = 1 AND [dungbom] IS NULL) OR ([dungbom] = @Original_dungbom)) AND ((@IsNull_songayhethan = 1 AND [songayhethan] IS NULL) OR ([songayhethan] = @Original_songayhethan)) AND ((@IsNull_songaytruochan = 1 AND [songaytruochan] IS NULL) OR ([songaytruochan] = @Original_songaytruochan)) AND ((@IsNull_dungserial = 1 AND [dungserial] IS NULL) OR ([dungserial] = @Original_dungserial)) AND ((@IsNull_songaychodoi = 1 AND [songaychodoi] IS NULL) OR ([songaychodoi] = @Original_songaychodoi)) AND ((@IsNull_songaybaohanh = 1 AND [songaybaohanh] IS NULL) OR ([songaybaohanh] = @Original_songaybaohanh)) AND ((@IsNull_dientich = 1 AND [dientich] IS NULL) OR ([dientich] = @Original_dientich)) AND ((@IsNull_chieucao = 1 AND [chieucao] IS NULL) OR ([chieucao] = @Original_chieucao)) AND ((@IsNull_thoigiannhaphang = 1 AND [thoigiannhaphang] IS NULL) OR ([thoigiannhaphang] = @Original_thoigiannhaphang)) AND ((@IsNull_thoigiankiemnghiem = 1 AND [thoigiankiemnghiem] IS NULL) OR ([thoigiankiemnghiem] = @Original_thoigiankiemnghiem)) AND ((@IsNull_thoigianxuly = 1 AND [thoigianxuly] IS NULL) OR ([thoigianxuly] = @Original_thoigianxuly)) AND ((@IsNull_luukho = 1 AND [luukho] IS NULL) OR ([luukho] = @Original_luukho)) AND ((@IsNull_giaconngoai = 1 AND [giaconngoai] IS NULL) OR ([giaconngoai] = @Original_giaconngoai)) AND ((@IsNull_mavach = 1 AND [mavach] IS NULL) OR ([mavach] = @Original_mavach)) AND ((@IsNull_macu = 1 AND [macu] IS NULL) OR ([macu] = @Original_macu)) AND ((@IsNull_motakhac = 1 AND [motakhac] IS NULL) OR ([motakhac] = @Original_motakhac)) AND ((@IsNull_donvitinhphu = 1 AND [donvitinhphu] IS NULL) OR ([donvitinhphu] = @Original_donvitinhphu)) AND ((@IsNull_model = 1 AND [model] IS NULL) OR ([model] = @Original_model)) AND ((@IsNull_tilequidoi = 1 AND [tilequidoi] IS NULL) OR ([tilequidoi] = @Original_tilequidoi)) AND ((@IsNull_maxuong = 1 AND [maxuong] IS NULL) OR ([maxuong] = @Original_maxuong)) AND ((@IsNull_chitieuhamluong = 1 AND [chitieuhamluong] IS NULL) OR ([chitieuhamluong] = @Original_chitieuhamluong)) AND ((@IsNull_dvthamluong = 1 AND [dvthamluong] IS NULL) OR ([dvthamluong] = @Original_dvthamluong)) AND ((@IsNull_chitieudoam = 1 AND [chitieudoam] IS NULL) OR ([chitieudoam] = @Original_chitieudoam)) AND ((@IsNull_dvtdoam = 1 AND [dvtdoam] IS NULL) OR ([dvtdoam] = @Original_dvtdoam)) AND ((@IsNull_mancc = 1 AND [mancc] IS NULL) OR ([mancc] = @Original_mancc)) AND ((@IsNull_maloaibaobi = 1 AND [maloaibaobi] IS NULL) OR ([maloaibaobi] = @Original_maloaibaobi)) AND ((@IsNull_mabanthanhpham = 1 AND [mabanthanhpham] IS NULL) OR ([mabanthanhpham] = @Original_mabanthanhpham)) AND ((@IsNull_tyle = 1 AND [tyle] IS NULL) OR ([tyle] = @Original_tyle)) AND ((@IsNull_machatluong = 1 AND [machatluong] IS NULL) OR ([machatluong] = @Original_machatluong)) AND ((@IsNull_taduoc = 1 AND [taduoc] IS NULL) OR ([taduoc] = @Original_taduoc)) AND ((@IsNull_sodangky = 1 AND [sodangky] IS NULL) OR ([sodangky] = @Original_sodangky)) AND ((@IsNull_tieuchuanchatluong = 1 AND [tieuchuanchatluong] IS NULL) OR ([tieuchuanchatluong] = @Original_tieuchuanchatluong)) AND ((@IsNull_trongluonggop = 1 AND [trongluonggop] IS NULL) OR ([trongluonggop] = @Original_trongluonggop)) AND ((@IsNull_khoiluongtinh = 1 AND [khoiluongtinh] IS NULL) OR ([khoiluongtinh] = @Original_khoiluongtinh)) AND ((@IsNull_khomacdinh = 1 AND [khomacdinh] IS NULL) OR ([khomacdinh] = @Original_khomacdinh)) AND ((@IsNull_khoiluongdvsx = 1 AND [khoiluongdvsx] IS NULL) OR ([khoiluongdvsx] = @Original_khoiluongdvsx)) AND ((@IsNull_cokiemnghiem = 1 AND [cokiemnghiem] IS NULL) OR ([cokiemnghiem] = @Original_cokiemnghiem)) AND ((@IsNull_cosudunghandung = 1 AND [cosudunghandung] IS NULL) OR ([cosudunghandung] = @Original_cosudunghandung)) AND ((@IsNull_handung = 1 AND [handung] IS NULL) OR ([handung] = @Original_handung)) AND ((@IsNull_chinhanh = 1 AND [chinhanh] IS NULL) OR ([chinhanh] = @Original_chinhanh)) AND ([tinhtrang] = @Original_tinhtrang) AND ([id] = @Original_id));
SELECT ma, ten1, ten2, ten3, dvt1, dvt2, manhom, loaivt, thuevat, sotaikhoanvat, heso, quicach, quydoikg, thuettdb, sotaikhoanttdv, taikhoangv, taikhoankho, dungbom, songayhethan, songaytruochan, dungserial, songaychodoi, songaybaohanh, dientich, chieucao, thoigiannhaphang, thoigiankiemnghiem, thoigianxuly, luukho, giaconngoai, mavach, macu, motakhac, donvitinhphu, model, tilequidoi, maxuong, chitieuhamluong, dvthamluong, chitieudoam, dvtdoam, mancc, maloaibaobi, mabanthanhpham, tyle, machatluong, taduoc, sodangky, tieuchuanchatluong, trongluonggop, khoiluongtinh, khomacdinh, khoiluongdvsx, cokiemnghiem, cosudunghandung, handung, chinhanh, tinhtrang, id FROM dmvattu WHERE (id = @id)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ten1" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten1" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ten2" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten2" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ten3" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten3" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@dvt1" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="dvt1" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@dvt2" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="dvt2" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@manhom" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="manhom" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@loaivt" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="loaivt" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@thuevat" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="thuevat" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@sotaikhoanvat" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sotaikhoanvat" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@heso" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="heso" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@quicach" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="quicach" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@quydoikg" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="quydoikg" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@thuettdb" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="thuettdb" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@sotaikhoanttdv" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sotaikhoanttdv" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@taikhoangv" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="taikhoangv" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@taikhoankho" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="taikhoankho" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@dungbom" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="dungbom" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@songayhethan" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="songayhethan" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@songaytruochan" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="songaytruochan" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@dungserial" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="dungserial" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@songaychodoi" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="songaychodoi" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@songaybaohanh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="songaybaohanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@dientich" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="dientich" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@chieucao" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="chieucao" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@thoigiannhaphang" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="thoigiannhaphang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@thoigiankiemnghiem" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="thoigiankiemnghiem" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@thoigianxuly" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="thoigianxuly" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@luukho" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="luukho" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@giaconngoai" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="giaconngoai" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@mavach" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="mavach" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@macu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="macu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@motakhac" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="motakhac" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@donvitinhphu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="donvitinhphu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@model" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="model" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@tilequidoi" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="tilequidoi" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@maxuong" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="maxuong" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@chitieuhamluong" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="chitieuhamluong" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@dvthamluong" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="dvthamluong" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@chitieudoam" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="chitieudoam" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@dvtdoam" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="dvtdoam" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@mancc" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="mancc" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@maloaibaobi" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="maloaibaobi" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@mabanthanhpham" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="mabanthanhpham" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@tyle" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="tyle" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@machatluong" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="machatluong" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@taduoc" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="taduoc" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@sodangky" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sodangky" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tieuchuanchatluong" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tieuchuanchatluong" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@trongluonggop" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="trongluonggop" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@khoiluongtinh" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="khoiluongtinh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@khomacdinh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="khomacdinh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@khoiluongdvsx" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="khoiluongdvsx" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@cokiemnghiem" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="cokiemnghiem" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@cosudunghandung" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="cosudunghandung" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@handung" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="handung" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ten1" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten1" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ten2" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ten2" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ten2" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten2" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ten3" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ten3" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ten3" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten3" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_dvt1" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="dvt1" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_dvt2" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="dvt2" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_dvt2" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="dvt2" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_manhom" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="manhom" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_manhom" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="manhom" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_loaivt" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="loaivt" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_loaivt" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="loaivt" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_thuevat" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="thuevat" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_thuevat" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="thuevat" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_sotaikhoanvat" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="sotaikhoanvat" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_sotaikhoanvat" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sotaikhoanvat" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_heso" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="heso" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_heso" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="heso" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_quicach" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="quicach" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_quicach" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="quicach" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_quydoikg" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="quydoikg" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_quydoikg" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="quydoikg" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_thuettdb" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="thuettdb" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_thuettdb" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="thuettdb" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_sotaikhoanttdv" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="sotaikhoanttdv" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_sotaikhoanttdv" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sotaikhoanttdv" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_taikhoangv" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="taikhoangv" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_taikhoangv" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="taikhoangv" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_taikhoankho" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="taikhoankho" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_taikhoankho" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="taikhoankho" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_dungbom" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="dungbom" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_dungbom" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="dungbom" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_songayhethan" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="songayhethan" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_songayhethan" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="songayhethan" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_songaytruochan" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="songaytruochan" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_songaytruochan" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="songaytruochan" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_dungserial" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="dungserial" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_dungserial" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="dungserial" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_songaychodoi" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="songaychodoi" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_songaychodoi" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="songaychodoi" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_songaybaohanh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="songaybaohanh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_songaybaohanh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="songaybaohanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_dientich" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="dientich" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_dientich" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="dientich" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chieucao" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chieucao" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_chieucao" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="chieucao" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_thoigiannhaphang" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="thoigiannhaphang" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_thoigiannhaphang" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="thoigiannhaphang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_thoigiankiemnghiem" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="thoigiankiemnghiem" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_thoigiankiemnghiem" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="thoigiankiemnghiem" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_thoigianxuly" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="thoigianxuly" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_thoigianxuly" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="thoigianxuly" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_luukho" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="luukho" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_luukho" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="luukho" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_giaconngoai" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="giaconngoai" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_giaconngoai" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="giaconngoai" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_mavach" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="mavach" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_mavach" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="mavach" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_macu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="macu" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_macu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="macu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_motakhac" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="motakhac" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_motakhac" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="motakhac" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_donvitinhphu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="donvitinhphu" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_donvitinhphu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="donvitinhphu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_model" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="model" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_model" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="model" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tilequidoi" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tilequidoi" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_tilequidoi" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="tilequidoi" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_maxuong" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="maxuong" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_maxuong" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="maxuong" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chitieuhamluong" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chitieuhamluong" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_chitieuhamluong" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="chitieuhamluong" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_dvthamluong" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="dvthamluong" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_dvthamluong" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="dvthamluong" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chitieudoam" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chitieudoam" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_chitieudoam" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="chitieudoam" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_dvtdoam" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="dvtdoam" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_dvtdoam" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="dvtdoam" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_mancc" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="mancc" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_mancc" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="mancc" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_maloaibaobi" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="maloaibaobi" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_maloaibaobi" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="maloaibaobi" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_mabanthanhpham" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="mabanthanhpham" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_mabanthanhpham" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="mabanthanhpham" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tyle" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tyle" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_tyle" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="tyle" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_machatluong" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="machatluong" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_machatluong" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="machatluong" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_taduoc" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="taduoc" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_taduoc" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="taduoc" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_sodangky" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="sodangky" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_sodangky" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sodangky" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tieuchuanchatluong" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tieuchuanchatluong" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tieuchuanchatluong" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tieuchuanchatluong" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_trongluonggop" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="trongluonggop" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_trongluonggop" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="trongluonggop" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_khoiluongtinh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="khoiluongtinh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_khoiluongtinh" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="khoiluongtinh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_khomacdinh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="khomacdinh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_khomacdinh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="khomacdinh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_khoiluongdvsx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="khoiluongdvsx" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_khoiluongdvsx" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="khoiluongdvsx" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_cokiemnghiem" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="cokiemnghiem" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_cokiemnghiem" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="cokiemnghiem" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_cosudunghandung" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="cosudunghandung" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_cosudunghandung" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="cosudunghandung" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_handung" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="handung" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_handung" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="handung" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chinhanh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="id" ColumnName="id" DataSourceName="erpharma.dbo.dmvattu" DataTypeServer="decimal" DbType="Decimal" Direction="Input" ParameterName="@id" Precision="18" ProviderType="Decimal" Scale="0" Size="9" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ma" DataSetColumn="ma" />
              <Mapping SourceColumn="ten1" DataSetColumn="ten1" />
              <Mapping SourceColumn="ten2" DataSetColumn="ten2" />
              <Mapping SourceColumn="ten3" DataSetColumn="ten3" />
              <Mapping SourceColumn="dvt1" DataSetColumn="dvt1" />
              <Mapping SourceColumn="dvt2" DataSetColumn="dvt2" />
              <Mapping SourceColumn="manhom" DataSetColumn="manhom" />
              <Mapping SourceColumn="loaivt" DataSetColumn="loaivt" />
              <Mapping SourceColumn="thuevat" DataSetColumn="thuevat" />
              <Mapping SourceColumn="sotaikhoanvat" DataSetColumn="sotaikhoanvat" />
              <Mapping SourceColumn="heso" DataSetColumn="heso" />
              <Mapping SourceColumn="quicach" DataSetColumn="quicach" />
              <Mapping SourceColumn="quydoikg" DataSetColumn="quydoikg" />
              <Mapping SourceColumn="thuettdb" DataSetColumn="thuettdb" />
              <Mapping SourceColumn="sotaikhoanttdv" DataSetColumn="sotaikhoanttdv" />
              <Mapping SourceColumn="taikhoangv" DataSetColumn="taikhoangv" />
              <Mapping SourceColumn="taikhoankho" DataSetColumn="taikhoankho" />
              <Mapping SourceColumn="dungbom" DataSetColumn="dungbom" />
              <Mapping SourceColumn="songayhethan" DataSetColumn="songayhethan" />
              <Mapping SourceColumn="songaytruochan" DataSetColumn="songaytruochan" />
              <Mapping SourceColumn="dungserial" DataSetColumn="dungserial" />
              <Mapping SourceColumn="songaychodoi" DataSetColumn="songaychodoi" />
              <Mapping SourceColumn="songaybaohanh" DataSetColumn="songaybaohanh" />
              <Mapping SourceColumn="dientich" DataSetColumn="dientich" />
              <Mapping SourceColumn="chieucao" DataSetColumn="chieucao" />
              <Mapping SourceColumn="thoigiannhaphang" DataSetColumn="thoigiannhaphang" />
              <Mapping SourceColumn="thoigiankiemnghiem" DataSetColumn="thoigiankiemnghiem" />
              <Mapping SourceColumn="thoigianxuly" DataSetColumn="thoigianxuly" />
              <Mapping SourceColumn="luukho" DataSetColumn="luukho" />
              <Mapping SourceColumn="giaconngoai" DataSetColumn="giaconngoai" />
              <Mapping SourceColumn="mavach" DataSetColumn="mavach" />
              <Mapping SourceColumn="macu" DataSetColumn="macu" />
              <Mapping SourceColumn="motakhac" DataSetColumn="motakhac" />
              <Mapping SourceColumn="donvitinhphu" DataSetColumn="donvitinhphu" />
              <Mapping SourceColumn="model" DataSetColumn="model" />
              <Mapping SourceColumn="tilequidoi" DataSetColumn="tilequidoi" />
              <Mapping SourceColumn="maxuong" DataSetColumn="maxuong" />
              <Mapping SourceColumn="chitieuhamluong" DataSetColumn="chitieuhamluong" />
              <Mapping SourceColumn="dvthamluong" DataSetColumn="dvthamluong" />
              <Mapping SourceColumn="chitieudoam" DataSetColumn="chitieudoam" />
              <Mapping SourceColumn="dvtdoam" DataSetColumn="dvtdoam" />
              <Mapping SourceColumn="mancc" DataSetColumn="mancc" />
              <Mapping SourceColumn="maloaibaobi" DataSetColumn="maloaibaobi" />
              <Mapping SourceColumn="mabanthanhpham" DataSetColumn="mabanthanhpham" />
              <Mapping SourceColumn="tyle" DataSetColumn="tyle" />
              <Mapping SourceColumn="machatluong" DataSetColumn="machatluong" />
              <Mapping SourceColumn="taduoc" DataSetColumn="taduoc" />
              <Mapping SourceColumn="sodangky" DataSetColumn="sodangky" />
              <Mapping SourceColumn="tieuchuanchatluong" DataSetColumn="tieuchuanchatluong" />
              <Mapping SourceColumn="trongluonggop" DataSetColumn="trongluonggop" />
              <Mapping SourceColumn="khoiluongtinh" DataSetColumn="khoiluongtinh" />
              <Mapping SourceColumn="khomacdinh" DataSetColumn="khomacdinh" />
              <Mapping SourceColumn="khoiluongdvsx" DataSetColumn="khoiluongdvsx" />
              <Mapping SourceColumn="cokiemnghiem" DataSetColumn="cokiemnghiem" />
              <Mapping SourceColumn="cosudunghandung" DataSetColumn="cosudunghandung" />
              <Mapping SourceColumn="handung" DataSetColumn="handung" />
              <Mapping SourceColumn="chinhanh" DataSetColumn="chinhanh" />
              <Mapping SourceColumn="tinhtrang" DataSetColumn="tinhtrang" />
              <Mapping SourceColumn="id" DataSetColumn="id" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="formTableAdapter" GeneratorDataComponentClassName="formTableAdapter" Name="form" UserDataComponentName="formTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="erpharmaConnectionString (MySettings)" DbObjectName="erpharma.dbo.form" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[form] WHERE (([ma] = @Original_ma) AND ([ten] = @Original_ten) AND ([tentienganh] = @Original_tentienganh) AND ((@IsNull_ghichu = 1 AND [ghichu] IS NULL) OR ([ghichu] = @Original_ghichu)) AND ([id] = @Original_id))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tentienganh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tentienganh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ghichu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ghichu" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ghichu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ghichu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[form] ([ma], [ten], [tentienganh], [ghichu]) VALUES (@ma, @ten, @tentienganh, @ghichu);
SELECT ma, ten, tentienganh, ghichu, id FROM form WHERE (id = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tentienganh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tentienganh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ghichu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ghichu" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT ma, ten, tentienganh, ghichu, id FROM dbo.form</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[form] SET [ma] = @ma, [ten] = @ten, [tentienganh] = @tentienganh, [ghichu] = @ghichu WHERE (([ma] = @Original_ma) AND ([ten] = @Original_ten) AND ([tentienganh] = @Original_tentienganh) AND ((@IsNull_ghichu = 1 AND [ghichu] IS NULL) OR ([ghichu] = @Original_ghichu)) AND ([id] = @Original_id));
SELECT ma, ten, tentienganh, ghichu, id FROM form WHERE (id = @id)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tentienganh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tentienganh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ghichu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ghichu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tentienganh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tentienganh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ghichu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ghichu" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ghichu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ghichu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="id" ColumnName="id" DataSourceName="erpharma.dbo.form" DataTypeServer="numeric" DbType="Decimal" Direction="Input" ParameterName="@id" Precision="18" ProviderType="Decimal" Scale="0" Size="9" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ma" DataSetColumn="ma" />
              <Mapping SourceColumn="ten" DataSetColumn="ten" />
              <Mapping SourceColumn="tentienganh" DataSetColumn="tentienganh" />
              <Mapping SourceColumn="ghichu" DataSetColumn="ghichu" />
              <Mapping SourceColumn="id" DataSetColumn="id" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="formitemTableAdapter" GeneratorDataComponentClassName="formitemTableAdapter" Name="formitem" UserDataComponentName="formitemTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="erpharmaConnectionString (MySettings)" DbObjectName="erpharma.dbo.formitem" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[formitem] WHERE (([maform] = @Original_maform) AND ([ma] = @Original_ma) AND ([ten] = @Original_ten) AND ((@IsNull_ghichu = 1 AND [ghichu] IS NULL) OR ([ghichu] = @Original_ghichu)) AND ([id] = @Original_id))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_maform" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="maform" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ghichu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ghichu" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ghichu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ghichu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[formitem] ([maform], [ma], [ten], [ghichu], [id]) VALUES (@maform, @ma, @ten, @ghichu, @id);
SELECT maform, ma, ten, ghichu, id FROM formitem WHERE (id = @id)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@maform" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="maform" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ghichu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ghichu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT maform, ma, ten, ghichu, id FROM dbo.formitem</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[formitem] SET [maform] = @maform, [ma] = @ma, [ten] = @ten, [ghichu] = @ghichu, [id] = @id WHERE (([maform] = @Original_maform) AND ([ma] = @Original_ma) AND ([ten] = @Original_ten) AND ((@IsNull_ghichu = 1 AND [ghichu] IS NULL) OR ([ghichu] = @Original_ghichu)) AND ([id] = @Original_id));
SELECT maform, ma, ten, ghichu, id FROM formitem WHERE (id = @id)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@maform" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="maform" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ghichu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ghichu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_maform" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="maform" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ghichu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ghichu" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ghichu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ghichu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="maform" DataSetColumn="maform" />
              <Mapping SourceColumn="ma" DataSetColumn="ma" />
              <Mapping SourceColumn="ten" DataSetColumn="ten" />
              <Mapping SourceColumn="ghichu" DataSetColumn="ghichu" />
              <Mapping SourceColumn="id" DataSetColumn="id" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="httientoTableAdapter" GeneratorDataComponentClassName="httientoTableAdapter" Name="httiento" UserDataComponentName="httientoTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="erpharmaConnectionString (MySettings)" DbObjectName="erpharma.dbo.httiento" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[httiento] WHERE (([tenbang] = @Original_tenbang) AND ([tiento] = @Original_tiento) AND ([id] = @Original_id))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tenbang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tenbang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tiento" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tiento" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[httiento] ([tenbang], [tiento]) VALUES (@tenbang, @tiento);
SELECT tenbang, tiento, id FROM httiento WHERE (id = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tenbang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tenbang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tiento" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tiento" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT tenbang, tiento, id FROM dbo.httiento</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[httiento] SET [tenbang] = @tenbang, [tiento] = @tiento WHERE (([tenbang] = @Original_tenbang) AND ([tiento] = @Original_tiento) AND ([id] = @Original_id));
SELECT tenbang, tiento, id FROM httiento WHERE (id = @id)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tenbang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tenbang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tiento" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tiento" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tenbang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tenbang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tiento" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tiento" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="id" ColumnName="id" DataSourceName="erpharma.dbo.httiento" DataTypeServer="decimal" DbType="Decimal" Direction="Input" ParameterName="@id" Precision="18" ProviderType="Decimal" Scale="0" Size="9" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="tenbang" DataSetColumn="tenbang" />
              <Mapping SourceColumn="tiento" DataSetColumn="tiento" />
              <Mapping SourceColumn="id" DataSetColumn="id" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="ketoannganhangTableAdapter" GeneratorDataComponentClassName="ketoannganhangTableAdapter" Name="ketoannganhang" UserDataComponentName="ketoannganhangTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="erpharmaConnectionString (MySettings)" DbObjectName="erpharma.dbo.ketoannganhang" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[ketoannganhang] WHERE (([ma] = @Original_ma) AND ((@IsNull_nghiepvu = 1 AND [nghiepvu] IS NULL) OR ([nghiepvu] = @Original_nghiepvu)) AND ((@IsNull_sochungtu = 1 AND [sochungtu] IS NULL) OR ([sochungtu] = @Original_sochungtu)) AND ((@IsNull_ngaylap = 1 AND [ngaylap] IS NULL) OR ([ngaylap] = @Original_ngaylap)) AND ((@IsNull_hoten = 1 AND [hoten] IS NULL) OR ([hoten] = @Original_hoten)) AND ((@IsNull_bophan = 1 AND [bophan] IS NULL) OR ([bophan] = @Original_bophan)) AND ((@IsNull_nganhang = 1 AND [nganhang] IS NULL) OR ([nganhang] = @Original_nganhang)) AND ((@IsNull_taikhoan = 1 AND [taikhoan] IS NULL) OR ([taikhoan] = @Original_taikhoan)) AND ((@IsNull_noidung = 1 AND [noidung] IS NULL) OR ([noidung] = @Original_noidung)) AND ((@IsNull_thamchieu = 1 AND [thamchieu] IS NULL) OR ([thamchieu] = @Original_thamchieu)) AND ((@IsNull_chungtukem = 1 AND [chungtukem] IS NULL) OR ([chungtukem] = @Original_chungtukem)) AND ((@IsNull_loaitien = 1 AND [loaitien] IS NULL) OR ([loaitien] = @Original_loaitien)) AND ([tygia] = @Original_tygia) AND ((@IsNull_nguyente = 1 AND [nguyente] IS NULL) OR ([nguyente] = @Original_nguyente)) AND ([tienvnd] = @Original_tienvnd) AND ((@IsNull_tinhtrang = 1 AND [tinhtrang] IS NULL) OR ([tinhtrang] = @Original_tinhtrang)) AND ((@IsNull_chinhanh = 1 AND [chinhanh] IS NULL) OR ([chinhanh] = @Original_chinhanh)) AND ([id] = @Original_id))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_nghiepvu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nghiepvu" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_nghiepvu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="nghiepvu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_sochungtu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="sochungtu" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_sochungtu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sochungtu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ngaylap" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ngaylap" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_ngaylap" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngaylap" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_hoten" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="hoten" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_hoten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="hoten" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_bophan" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="bophan" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_bophan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="bophan" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_nganhang" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nganhang" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_nganhang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="nganhang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_taikhoan" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="taikhoan" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_taikhoan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="taikhoan" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_noidung" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="noidung" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_noidung" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="noidung" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_thamchieu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="thamchieu" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_thamchieu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="thamchieu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chungtukem" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chungtukem" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chungtukem" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chungtukem" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_loaitien" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="loaitien" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_loaitien" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="loaitien" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_tygia" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="tygia" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_nguyente" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nguyente" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_nguyente" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="nguyente" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_tienvnd" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="tienvnd" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tinhtrang" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chinhanh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[ketoannganhang] ([ma], [nghiepvu], [sochungtu], [ngaylap], [hoten], [bophan], [nganhang], [taikhoan], [noidung], [thamchieu], [chungtukem], [loaitien], [tygia], [nguyente], [tienvnd], [tinhtrang], [chinhanh]) VALUES (@ma, @nghiepvu, @sochungtu, @ngaylap, @hoten, @bophan, @nganhang, @taikhoan, @noidung, @thamchieu, @chungtukem, @loaitien, @tygia, @nguyente, @tienvnd, @tinhtrang, @chinhanh);
SELECT ma, nghiepvu, sochungtu, ngaylap, hoten, bophan, nganhang, taikhoan, noidung, thamchieu, chungtukem, loaitien, tygia, nguyente, tienvnd, tinhtrang, chinhanh, id FROM ketoannganhang WHERE (id = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@nghiepvu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="nghiepvu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@sochungtu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sochungtu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ngaylap" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngaylap" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@hoten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="hoten" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@bophan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="bophan" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@nganhang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="nganhang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@taikhoan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="taikhoan" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@noidung" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="noidung" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@thamchieu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="thamchieu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chungtukem" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chungtukem" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@loaitien" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="loaitien" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@tygia" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="tygia" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@nguyente" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="nguyente" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@tienvnd" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="tienvnd" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT ma, nghiepvu, sochungtu, ngaylap, hoten, bophan, nganhang, taikhoan, noidung, thamchieu, chungtukem, loaitien, tygia, nguyente, tienvnd, tinhtrang, chinhanh, id FROM dbo.ketoannganhang</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[ketoannganhang] SET [ma] = @ma, [nghiepvu] = @nghiepvu, [sochungtu] = @sochungtu, [ngaylap] = @ngaylap, [hoten] = @hoten, [bophan] = @bophan, [nganhang] = @nganhang, [taikhoan] = @taikhoan, [noidung] = @noidung, [thamchieu] = @thamchieu, [chungtukem] = @chungtukem, [loaitien] = @loaitien, [tygia] = @tygia, [nguyente] = @nguyente, [tienvnd] = @tienvnd, [tinhtrang] = @tinhtrang, [chinhanh] = @chinhanh WHERE (([ma] = @Original_ma) AND ((@IsNull_nghiepvu = 1 AND [nghiepvu] IS NULL) OR ([nghiepvu] = @Original_nghiepvu)) AND ((@IsNull_sochungtu = 1 AND [sochungtu] IS NULL) OR ([sochungtu] = @Original_sochungtu)) AND ((@IsNull_ngaylap = 1 AND [ngaylap] IS NULL) OR ([ngaylap] = @Original_ngaylap)) AND ((@IsNull_hoten = 1 AND [hoten] IS NULL) OR ([hoten] = @Original_hoten)) AND ((@IsNull_bophan = 1 AND [bophan] IS NULL) OR ([bophan] = @Original_bophan)) AND ((@IsNull_nganhang = 1 AND [nganhang] IS NULL) OR ([nganhang] = @Original_nganhang)) AND ((@IsNull_taikhoan = 1 AND [taikhoan] IS NULL) OR ([taikhoan] = @Original_taikhoan)) AND ((@IsNull_noidung = 1 AND [noidung] IS NULL) OR ([noidung] = @Original_noidung)) AND ((@IsNull_thamchieu = 1 AND [thamchieu] IS NULL) OR ([thamchieu] = @Original_thamchieu)) AND ((@IsNull_chungtukem = 1 AND [chungtukem] IS NULL) OR ([chungtukem] = @Original_chungtukem)) AND ((@IsNull_loaitien = 1 AND [loaitien] IS NULL) OR ([loaitien] = @Original_loaitien)) AND ([tygia] = @Original_tygia) AND ((@IsNull_nguyente = 1 AND [nguyente] IS NULL) OR ([nguyente] = @Original_nguyente)) AND ([tienvnd] = @Original_tienvnd) AND ((@IsNull_tinhtrang = 1 AND [tinhtrang] IS NULL) OR ([tinhtrang] = @Original_tinhtrang)) AND ((@IsNull_chinhanh = 1 AND [chinhanh] IS NULL) OR ([chinhanh] = @Original_chinhanh)) AND ([id] = @Original_id));
SELECT ma, nghiepvu, sochungtu, ngaylap, hoten, bophan, nganhang, taikhoan, noidung, thamchieu, chungtukem, loaitien, tygia, nguyente, tienvnd, tinhtrang, chinhanh, id FROM ketoannganhang WHERE (id = @id)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@nghiepvu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="nghiepvu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@sochungtu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sochungtu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ngaylap" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngaylap" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@hoten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="hoten" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@bophan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="bophan" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@nganhang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="nganhang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@taikhoan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="taikhoan" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@noidung" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="noidung" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@thamchieu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="thamchieu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chungtukem" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chungtukem" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@loaitien" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="loaitien" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@tygia" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="tygia" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@nguyente" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="nguyente" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@tienvnd" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="tienvnd" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_nghiepvu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nghiepvu" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_nghiepvu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="nghiepvu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_sochungtu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="sochungtu" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_sochungtu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sochungtu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ngaylap" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ngaylap" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_ngaylap" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngaylap" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_hoten" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="hoten" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_hoten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="hoten" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_bophan" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="bophan" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_bophan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="bophan" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_nganhang" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nganhang" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_nganhang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="nganhang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_taikhoan" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="taikhoan" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_taikhoan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="taikhoan" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_noidung" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="noidung" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_noidung" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="noidung" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_thamchieu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="thamchieu" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_thamchieu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="thamchieu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chungtukem" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chungtukem" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chungtukem" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chungtukem" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_loaitien" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="loaitien" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_loaitien" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="loaitien" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_tygia" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="tygia" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_nguyente" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nguyente" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_nguyente" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="nguyente" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_tienvnd" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="tienvnd" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tinhtrang" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chinhanh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="id" ColumnName="id" DataSourceName="erpharma.dbo.ketoannganhang" DataTypeServer="decimal" DbType="Decimal" Direction="Input" ParameterName="@id" Precision="18" ProviderType="Decimal" Scale="0" Size="9" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ma" DataSetColumn="ma" />
              <Mapping SourceColumn="nghiepvu" DataSetColumn="nghiepvu" />
              <Mapping SourceColumn="sochungtu" DataSetColumn="sochungtu" />
              <Mapping SourceColumn="ngaylap" DataSetColumn="ngaylap" />
              <Mapping SourceColumn="hoten" DataSetColumn="hoten" />
              <Mapping SourceColumn="bophan" DataSetColumn="bophan" />
              <Mapping SourceColumn="nganhang" DataSetColumn="nganhang" />
              <Mapping SourceColumn="taikhoan" DataSetColumn="taikhoan" />
              <Mapping SourceColumn="noidung" DataSetColumn="noidung" />
              <Mapping SourceColumn="thamchieu" DataSetColumn="thamchieu" />
              <Mapping SourceColumn="chungtukem" DataSetColumn="chungtukem" />
              <Mapping SourceColumn="loaitien" DataSetColumn="loaitien" />
              <Mapping SourceColumn="tygia" DataSetColumn="tygia" />
              <Mapping SourceColumn="nguyente" DataSetColumn="nguyente" />
              <Mapping SourceColumn="tienvnd" DataSetColumn="tienvnd" />
              <Mapping SourceColumn="tinhtrang" DataSetColumn="tinhtrang" />
              <Mapping SourceColumn="chinhanh" DataSetColumn="chinhanh" />
              <Mapping SourceColumn="id" DataSetColumn="id" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="ketoannganhangchitietTableAdapter" GeneratorDataComponentClassName="ketoannganhangchitietTableAdapter" Name="ketoannganhangchitiet" UserDataComponentName="ketoannganhangchitietTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="erpharmaConnectionString (MySettings)" DbObjectName="erpharma.dbo.ketoannganhangchitiet" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[ketoannganhangchitiet] WHERE (([ma] = @Original_ma) AND ((@IsNull_taikhoanno = 1 AND [taikhoanno] IS NULL) OR ([taikhoanno] = @Original_taikhoanno)) AND ((@IsNull_taikhoanco = 1 AND [taikhoanco] IS NULL) OR ([taikhoanco] = @Original_taikhoanco)) AND ((@IsNull_nguyente = 1 AND [nguyente] IS NULL) OR ([nguyente] = @Original_nguyente)) AND ((@IsNull_tienvnd = 1 AND [tienvnd] IS NULL) OR ([tienvnd] = @Original_tienvnd)) AND ((@IsNull_diengiai = 1 AND [diengiai] IS NULL) OR ([diengiai] = @Original_diengiai)) AND ((@IsNull_khachhang = 1 AND [khachhang] IS NULL) OR ([khachhang] = @Original_khachhang)) AND ((@IsNull_sohopdong = 1 AND [sohopdong] IS NULL) OR ([sohopdong] = @Original_sohopdong)) AND ((@IsNull_ngay = 1 AND [ngay] IS NULL) OR ([ngay] = @Original_ngay)) AND ((@IsNull_khoanmuc = 1 AND [khoanmuc] IS NULL) OR ([khoanmuc] = @Original_khoanmuc)) AND ((@IsNull_phongban = 1 AND [phongban] IS NULL) OR ([phongban] = @Original_phongban)) AND ((@IsNull_hangmuc = 1 AND [hangmuc] IS NULL) OR ([hangmuc] = @Original_hangmuc)) AND ((@IsNull_hopdong = 1 AND [hopdong] IS NULL) OR ([hopdong] = @Original_hopdong)) AND ((@IsNull_nguonvon = 1 AND [nguonvon] IS NULL) OR ([nguonvon] = @Original_nguonvon)) AND ((@IsNull_sohoadon = 1 AND [sohoadon] IS NULL) OR ([sohoadon] = @Original_sohoadon)) AND ((@IsNull_soserial = 1 AND [soserial] IS NULL) OR ([soserial] = @Original_soserial)) AND ((@IsNull_loaihoadon = 1 AND [loaihoadon] IS NULL) OR ([loaihoadon] = @Original_loaihoadon)) AND ((@IsNull_ngayhoadon = 1 AND [ngayhoadon] IS NULL) OR ([ngayhoadon] = @Original_ngayhoadon)) AND ((@IsNull_tenhang = 1 AND [tenhang] IS NULL) OR ([tenhang] = @Original_tenhang)) AND ((@IsNull_donvi = 1 AND [donvi] IS NULL) OR ([donvi] = @Original_donvi)) AND ((@IsNull_diachi = 1 AND [diachi] IS NULL) OR ([diachi] = @Original_diachi)) AND ((@IsNull_masothue = 1 AND [masothue] IS NULL) OR ([masothue] = @Original_masothue)) AND ([doanhthu] = @Original_doanhthu) AND ([phantramthue] = @Original_phantramthue) AND ([thue] = @Original_thue) AND ([tongcong] = @Original_tongcong) AND ((@IsNull_chinhanh = 1 AND [chinhanh] IS NULL) OR ([chinhanh] = @Original_chinhanh)) AND ([id] = @Original_id))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_taikhoanno" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="taikhoanno" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_taikhoanno" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="taikhoanno" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_taikhoanco" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="taikhoanco" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_taikhoanco" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="taikhoanco" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_nguyente" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nguyente" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_nguyente" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="nguyente" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tienvnd" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tienvnd" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tienvnd" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tienvnd" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_diengiai" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="diengiai" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_diengiai" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="diengiai" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_khachhang" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="khachhang" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_khachhang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="khachhang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_sohopdong" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="sohopdong" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_sohopdong" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sohopdong" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ngay" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ngay" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_ngay" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngay" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_khoanmuc" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="khoanmuc" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_khoanmuc" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="khoanmuc" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_phongban" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="phongban" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_phongban" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="phongban" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_hangmuc" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="hangmuc" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_hangmuc" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="hangmuc" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_hopdong" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="hopdong" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_hopdong" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="hopdong" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_nguonvon" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nguonvon" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_nguonvon" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="nguonvon" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_sohoadon" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="sohoadon" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_sohoadon" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sohoadon" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_soserial" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="soserial" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_soserial" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="soserial" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_loaihoadon" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="loaihoadon" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_loaihoadon" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="loaihoadon" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ngayhoadon" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ngayhoadon" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_ngayhoadon" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngayhoadon" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tenhang" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tenhang" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tenhang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tenhang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_donvi" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="donvi" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_donvi" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="donvi" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_diachi" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="diachi" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_diachi" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="diachi" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_masothue" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="masothue" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_masothue" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="masothue" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_doanhthu" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="doanhthu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_phantramthue" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="phantramthue" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_thue" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="thue" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_tongcong" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="tongcong" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chinhanh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[ketoannganhangchitiet] ([ma], [taikhoanno], [taikhoanco], [nguyente], [tienvnd], [diengiai], [khachhang], [sohopdong], [ngay], [khoanmuc], [phongban], [hangmuc], [hopdong], [nguonvon], [sohoadon], [soserial], [loaihoadon], [ngayhoadon], [tenhang], [donvi], [diachi], [masothue], [doanhthu], [phantramthue], [thue], [tongcong], [chinhanh]) VALUES (@ma, @taikhoanno, @taikhoanco, @nguyente, @tienvnd, @diengiai, @khachhang, @sohopdong, @ngay, @khoanmuc, @phongban, @hangmuc, @hopdong, @nguonvon, @sohoadon, @soserial, @loaihoadon, @ngayhoadon, @tenhang, @donvi, @diachi, @masothue, @doanhthu, @phantramthue, @thue, @tongcong, @chinhanh);
SELECT ma, taikhoanno, taikhoanco, nguyente, tienvnd, diengiai, khachhang, sohopdong, ngay, khoanmuc, phongban, hangmuc, hopdong, nguonvon, sohoadon, soserial, loaihoadon, ngayhoadon, tenhang, donvi, diachi, masothue, doanhthu, phantramthue, thue, tongcong, chinhanh, id FROM ketoannganhangchitiet WHERE (id = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@taikhoanno" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="taikhoanno" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@taikhoanco" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="taikhoanco" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@nguyente" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="nguyente" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tienvnd" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tienvnd" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@diengiai" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="diengiai" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@khachhang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="khachhang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@sohopdong" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sohopdong" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ngay" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngay" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@khoanmuc" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="khoanmuc" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@phongban" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="phongban" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@hangmuc" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="hangmuc" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@hopdong" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="hopdong" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@nguonvon" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="nguonvon" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@sohoadon" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sohoadon" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@soserial" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="soserial" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@loaihoadon" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="loaihoadon" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ngayhoadon" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngayhoadon" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tenhang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tenhang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@donvi" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="donvi" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@diachi" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="diachi" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@masothue" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="masothue" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@doanhthu" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="doanhthu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@phantramthue" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="phantramthue" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@thue" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="thue" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@tongcong" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="tongcong" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT ma, taikhoanno, taikhoanco, nguyente, tienvnd, diengiai, khachhang, sohopdong, ngay, khoanmuc, phongban, hangmuc, hopdong, nguonvon, sohoadon, soserial, loaihoadon, ngayhoadon, tenhang, donvi, diachi, masothue, doanhthu, phantramthue, thue, tongcong, chinhanh, id FROM dbo.ketoannganhangchitiet</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[ketoannganhangchitiet] SET [ma] = @ma, [taikhoanno] = @taikhoanno, [taikhoanco] = @taikhoanco, [nguyente] = @nguyente, [tienvnd] = @tienvnd, [diengiai] = @diengiai, [khachhang] = @khachhang, [sohopdong] = @sohopdong, [ngay] = @ngay, [khoanmuc] = @khoanmuc, [phongban] = @phongban, [hangmuc] = @hangmuc, [hopdong] = @hopdong, [nguonvon] = @nguonvon, [sohoadon] = @sohoadon, [soserial] = @soserial, [loaihoadon] = @loaihoadon, [ngayhoadon] = @ngayhoadon, [tenhang] = @tenhang, [donvi] = @donvi, [diachi] = @diachi, [masothue] = @masothue, [doanhthu] = @doanhthu, [phantramthue] = @phantramthue, [thue] = @thue, [tongcong] = @tongcong, [chinhanh] = @chinhanh WHERE (([ma] = @Original_ma) AND ((@IsNull_taikhoanno = 1 AND [taikhoanno] IS NULL) OR ([taikhoanno] = @Original_taikhoanno)) AND ((@IsNull_taikhoanco = 1 AND [taikhoanco] IS NULL) OR ([taikhoanco] = @Original_taikhoanco)) AND ((@IsNull_nguyente = 1 AND [nguyente] IS NULL) OR ([nguyente] = @Original_nguyente)) AND ((@IsNull_tienvnd = 1 AND [tienvnd] IS NULL) OR ([tienvnd] = @Original_tienvnd)) AND ((@IsNull_diengiai = 1 AND [diengiai] IS NULL) OR ([diengiai] = @Original_diengiai)) AND ((@IsNull_khachhang = 1 AND [khachhang] IS NULL) OR ([khachhang] = @Original_khachhang)) AND ((@IsNull_sohopdong = 1 AND [sohopdong] IS NULL) OR ([sohopdong] = @Original_sohopdong)) AND ((@IsNull_ngay = 1 AND [ngay] IS NULL) OR ([ngay] = @Original_ngay)) AND ((@IsNull_khoanmuc = 1 AND [khoanmuc] IS NULL) OR ([khoanmuc] = @Original_khoanmuc)) AND ((@IsNull_phongban = 1 AND [phongban] IS NULL) OR ([phongban] = @Original_phongban)) AND ((@IsNull_hangmuc = 1 AND [hangmuc] IS NULL) OR ([hangmuc] = @Original_hangmuc)) AND ((@IsNull_hopdong = 1 AND [hopdong] IS NULL) OR ([hopdong] = @Original_hopdong)) AND ((@IsNull_nguonvon = 1 AND [nguonvon] IS NULL) OR ([nguonvon] = @Original_nguonvon)) AND ((@IsNull_sohoadon = 1 AND [sohoadon] IS NULL) OR ([sohoadon] = @Original_sohoadon)) AND ((@IsNull_soserial = 1 AND [soserial] IS NULL) OR ([soserial] = @Original_soserial)) AND ((@IsNull_loaihoadon = 1 AND [loaihoadon] IS NULL) OR ([loaihoadon] = @Original_loaihoadon)) AND ((@IsNull_ngayhoadon = 1 AND [ngayhoadon] IS NULL) OR ([ngayhoadon] = @Original_ngayhoadon)) AND ((@IsNull_tenhang = 1 AND [tenhang] IS NULL) OR ([tenhang] = @Original_tenhang)) AND ((@IsNull_donvi = 1 AND [donvi] IS NULL) OR ([donvi] = @Original_donvi)) AND ((@IsNull_diachi = 1 AND [diachi] IS NULL) OR ([diachi] = @Original_diachi)) AND ((@IsNull_masothue = 1 AND [masothue] IS NULL) OR ([masothue] = @Original_masothue)) AND ([doanhthu] = @Original_doanhthu) AND ([phantramthue] = @Original_phantramthue) AND ([thue] = @Original_thue) AND ([tongcong] = @Original_tongcong) AND ((@IsNull_chinhanh = 1 AND [chinhanh] IS NULL) OR ([chinhanh] = @Original_chinhanh)) AND ([id] = @Original_id));
SELECT ma, taikhoanno, taikhoanco, nguyente, tienvnd, diengiai, khachhang, sohopdong, ngay, khoanmuc, phongban, hangmuc, hopdong, nguonvon, sohoadon, soserial, loaihoadon, ngayhoadon, tenhang, donvi, diachi, masothue, doanhthu, phantramthue, thue, tongcong, chinhanh, id FROM ketoannganhangchitiet WHERE (id = @id)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@taikhoanno" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="taikhoanno" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@taikhoanco" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="taikhoanco" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@nguyente" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="nguyente" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tienvnd" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tienvnd" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@diengiai" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="diengiai" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@khachhang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="khachhang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@sohopdong" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sohopdong" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ngay" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngay" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@khoanmuc" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="khoanmuc" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@phongban" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="phongban" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@hangmuc" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="hangmuc" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@hopdong" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="hopdong" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@nguonvon" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="nguonvon" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@sohoadon" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sohoadon" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@soserial" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="soserial" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@loaihoadon" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="loaihoadon" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ngayhoadon" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngayhoadon" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tenhang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tenhang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@donvi" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="donvi" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@diachi" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="diachi" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@masothue" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="masothue" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@doanhthu" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="doanhthu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@phantramthue" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="phantramthue" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@thue" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="thue" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@tongcong" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="tongcong" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_taikhoanno" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="taikhoanno" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_taikhoanno" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="taikhoanno" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_taikhoanco" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="taikhoanco" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_taikhoanco" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="taikhoanco" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_nguyente" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nguyente" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_nguyente" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="nguyente" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tienvnd" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tienvnd" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tienvnd" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tienvnd" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_diengiai" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="diengiai" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_diengiai" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="diengiai" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_khachhang" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="khachhang" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_khachhang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="khachhang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_sohopdong" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="sohopdong" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_sohopdong" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sohopdong" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ngay" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ngay" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_ngay" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngay" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_khoanmuc" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="khoanmuc" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_khoanmuc" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="khoanmuc" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_phongban" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="phongban" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_phongban" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="phongban" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_hangmuc" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="hangmuc" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_hangmuc" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="hangmuc" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_hopdong" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="hopdong" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_hopdong" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="hopdong" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_nguonvon" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nguonvon" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_nguonvon" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="nguonvon" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_sohoadon" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="sohoadon" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_sohoadon" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sohoadon" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_soserial" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="soserial" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_soserial" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="soserial" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_loaihoadon" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="loaihoadon" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_loaihoadon" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="loaihoadon" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ngayhoadon" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ngayhoadon" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_ngayhoadon" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngayhoadon" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tenhang" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tenhang" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tenhang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tenhang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_donvi" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="donvi" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_donvi" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="donvi" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_diachi" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="diachi" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_diachi" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="diachi" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_masothue" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="masothue" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_masothue" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="masothue" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_doanhthu" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="doanhthu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_phantramthue" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="phantramthue" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_thue" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="thue" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_tongcong" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="tongcong" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chinhanh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="id" ColumnName="id" DataSourceName="erpharma.dbo.ketoannganhangchitiet" DataTypeServer="decimal" DbType="Decimal" Direction="Input" ParameterName="@id" Precision="18" ProviderType="Decimal" Scale="0" Size="9" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ma" DataSetColumn="ma" />
              <Mapping SourceColumn="taikhoanno" DataSetColumn="taikhoanno" />
              <Mapping SourceColumn="taikhoanco" DataSetColumn="taikhoanco" />
              <Mapping SourceColumn="nguyente" DataSetColumn="nguyente" />
              <Mapping SourceColumn="tienvnd" DataSetColumn="tienvnd" />
              <Mapping SourceColumn="diengiai" DataSetColumn="diengiai" />
              <Mapping SourceColumn="khachhang" DataSetColumn="khachhang" />
              <Mapping SourceColumn="sohopdong" DataSetColumn="sohopdong" />
              <Mapping SourceColumn="ngay" DataSetColumn="ngay" />
              <Mapping SourceColumn="khoanmuc" DataSetColumn="khoanmuc" />
              <Mapping SourceColumn="phongban" DataSetColumn="phongban" />
              <Mapping SourceColumn="hangmuc" DataSetColumn="hangmuc" />
              <Mapping SourceColumn="hopdong" DataSetColumn="hopdong" />
              <Mapping SourceColumn="nguonvon" DataSetColumn="nguonvon" />
              <Mapping SourceColumn="sohoadon" DataSetColumn="sohoadon" />
              <Mapping SourceColumn="soserial" DataSetColumn="soserial" />
              <Mapping SourceColumn="loaihoadon" DataSetColumn="loaihoadon" />
              <Mapping SourceColumn="ngayhoadon" DataSetColumn="ngayhoadon" />
              <Mapping SourceColumn="tenhang" DataSetColumn="tenhang" />
              <Mapping SourceColumn="donvi" DataSetColumn="donvi" />
              <Mapping SourceColumn="diachi" DataSetColumn="diachi" />
              <Mapping SourceColumn="masothue" DataSetColumn="masothue" />
              <Mapping SourceColumn="doanhthu" DataSetColumn="doanhthu" />
              <Mapping SourceColumn="phantramthue" DataSetColumn="phantramthue" />
              <Mapping SourceColumn="thue" DataSetColumn="thue" />
              <Mapping SourceColumn="tongcong" DataSetColumn="tongcong" />
              <Mapping SourceColumn="chinhanh" DataSetColumn="chinhanh" />
              <Mapping SourceColumn="id" DataSetColumn="id" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="ketoanphaithuTableAdapter" GeneratorDataComponentClassName="ketoanphaithuTableAdapter" Name="ketoanphaithu" UserDataComponentName="ketoanphaithuTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="erpharmaConnectionString (MySettings)" DbObjectName="erpharma.dbo.ketoanphaithu" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[ketoanphaithu] WHERE (([ma] = @Original_ma) AND ([ngay] = @Original_ngay) AND ([nghiepvu] = @Original_nghiepvu) AND ([khachhang] = @Original_khachhang) AND ([loaiphatsinh] = @Original_loaiphatsinh) AND ([taikhoan] = @Original_taikhoan) AND ([noidung] = @Original_noidung) AND ([loaitien] = @Original_loaitien) AND ([tygia] = @Original_tygia) AND ([nguyente] = @Original_nguyente) AND ([tienvnd] = @Original_tienvnd) AND ([tinhtrang] = @Original_tinhtrang) AND ((@IsNull_chinhanh = 1 AND [chinhanh] IS NULL) OR ([chinhanh] = @Original_chinhanh)) AND ([id] = @Original_id))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_ngay" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngay" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_nghiepvu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="nghiepvu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_khachhang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="khachhang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_loaiphatsinh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="loaiphatsinh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_taikhoan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="taikhoan" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_noidung" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="noidung" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_loaitien" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="loaitien" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_tygia" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="tygia" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_nguyente" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="nguyente" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tienvnd" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tienvnd" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chinhanh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[ketoanphaithu] ([ma], [ngay], [nghiepvu], [khachhang], [loaiphatsinh], [taikhoan], [noidung], [loaitien], [tygia], [nguyente], [tienvnd], [tinhtrang], [chinhanh]) VALUES (@ma, @ngay, @nghiepvu, @khachhang, @loaiphatsinh, @taikhoan, @noidung, @loaitien, @tygia, @nguyente, @tienvnd, @tinhtrang, @chinhanh);
SELECT ma, ngay, nghiepvu, khachhang, loaiphatsinh, taikhoan, noidung, loaitien, tygia, nguyente, tienvnd, tinhtrang, chinhanh, id FROM ketoanphaithu WHERE (id = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ngay" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngay" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@nghiepvu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="nghiepvu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@khachhang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="khachhang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@loaiphatsinh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="loaiphatsinh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@taikhoan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="taikhoan" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@noidung" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="noidung" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@loaitien" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="loaitien" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@tygia" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="tygia" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@nguyente" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="nguyente" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tienvnd" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tienvnd" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT ma, ngay, nghiepvu, khachhang, loaiphatsinh, taikhoan, noidung, loaitien, tygia, nguyente, tienvnd, tinhtrang, chinhanh, id FROM dbo.ketoanphaithu</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[ketoanphaithu] SET [ma] = @ma, [ngay] = @ngay, [nghiepvu] = @nghiepvu, [khachhang] = @khachhang, [loaiphatsinh] = @loaiphatsinh, [taikhoan] = @taikhoan, [noidung] = @noidung, [loaitien] = @loaitien, [tygia] = @tygia, [nguyente] = @nguyente, [tienvnd] = @tienvnd, [tinhtrang] = @tinhtrang, [chinhanh] = @chinhanh WHERE (([ma] = @Original_ma) AND ([ngay] = @Original_ngay) AND ([nghiepvu] = @Original_nghiepvu) AND ([khachhang] = @Original_khachhang) AND ([loaiphatsinh] = @Original_loaiphatsinh) AND ([taikhoan] = @Original_taikhoan) AND ([noidung] = @Original_noidung) AND ([loaitien] = @Original_loaitien) AND ([tygia] = @Original_tygia) AND ([nguyente] = @Original_nguyente) AND ([tienvnd] = @Original_tienvnd) AND ([tinhtrang] = @Original_tinhtrang) AND ((@IsNull_chinhanh = 1 AND [chinhanh] IS NULL) OR ([chinhanh] = @Original_chinhanh)) AND ([id] = @Original_id));
SELECT ma, ngay, nghiepvu, khachhang, loaiphatsinh, taikhoan, noidung, loaitien, tygia, nguyente, tienvnd, tinhtrang, chinhanh, id FROM ketoanphaithu WHERE (id = @id)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ngay" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngay" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@nghiepvu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="nghiepvu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@khachhang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="khachhang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@loaiphatsinh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="loaiphatsinh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@taikhoan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="taikhoan" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@noidung" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="noidung" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@loaitien" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="loaitien" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@tygia" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="tygia" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@nguyente" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="nguyente" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tienvnd" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tienvnd" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_ngay" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngay" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_nghiepvu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="nghiepvu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_khachhang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="khachhang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_loaiphatsinh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="loaiphatsinh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_taikhoan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="taikhoan" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_noidung" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="noidung" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_loaitien" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="loaitien" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_tygia" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="tygia" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_nguyente" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="nguyente" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tienvnd" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tienvnd" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chinhanh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="id" ColumnName="id" DataSourceName="erpharma.dbo.ketoanphaithu" DataTypeServer="decimal" DbType="Decimal" Direction="Input" ParameterName="@id" Precision="18" ProviderType="Decimal" Scale="0" Size="9" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ma" DataSetColumn="ma" />
              <Mapping SourceColumn="ngay" DataSetColumn="ngay" />
              <Mapping SourceColumn="nghiepvu" DataSetColumn="nghiepvu" />
              <Mapping SourceColumn="khachhang" DataSetColumn="khachhang" />
              <Mapping SourceColumn="loaiphatsinh" DataSetColumn="loaiphatsinh" />
              <Mapping SourceColumn="taikhoan" DataSetColumn="taikhoan" />
              <Mapping SourceColumn="noidung" DataSetColumn="noidung" />
              <Mapping SourceColumn="loaitien" DataSetColumn="loaitien" />
              <Mapping SourceColumn="tygia" DataSetColumn="tygia" />
              <Mapping SourceColumn="nguyente" DataSetColumn="nguyente" />
              <Mapping SourceColumn="tienvnd" DataSetColumn="tienvnd" />
              <Mapping SourceColumn="tinhtrang" DataSetColumn="tinhtrang" />
              <Mapping SourceColumn="chinhanh" DataSetColumn="chinhanh" />
              <Mapping SourceColumn="id" DataSetColumn="id" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="ketoanphaithuchitietTableAdapter" GeneratorDataComponentClassName="ketoanphaithuchitietTableAdapter" Name="ketoanphaithuchitiet" UserDataComponentName="ketoanphaithuchitietTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="erpharmaConnectionString (MySettings)" DbObjectName="erpharma.dbo.ketoanphaithuchitiet" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[ketoanphaithuchitiet] WHERE (([ma] = @Original_ma) AND ([taikhoan] = @Original_taikhoan) AND ([phatsinh] = @Original_phatsinh) AND ((@IsNull_diengiai = 1 AND [diengiai] IS NULL) OR ([diengiai] = @Original_diengiai)) AND ([tienvnd] = @Original_tienvnd) AND ([khachhang] = @Original_khachhang) AND ([donvi] = @Original_donvi) AND ([sohoadon] = @Original_sohoadon) AND ([ngayhoadon] = @Original_ngayhoadon) AND ([hanthanhtoan] = @Original_hanthanhtoan) AND ([chinhanh] = @Original_chinhanh) AND ([id] = @Original_id))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_taikhoan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="taikhoan" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_phatsinh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="phatsinh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_diengiai" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="diengiai" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_diengiai" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="diengiai" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tienvnd" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tienvnd" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_khachhang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="khachhang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_donvi" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="donvi" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_sohoadon" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sohoadon" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_ngayhoadon" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngayhoadon" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_hanthanhtoan" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="hanthanhtoan" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[ketoanphaithuchitiet] ([ma], [taikhoan], [phatsinh], [diengiai], [tienvnd], [khachhang], [donvi], [sohoadon], [ngayhoadon], [hanthanhtoan], [chinhanh]) VALUES (@ma, @taikhoan, @phatsinh, @diengiai, @tienvnd, @khachhang, @donvi, @sohoadon, @ngayhoadon, @hanthanhtoan, @chinhanh);
SELECT ma, taikhoan, phatsinh, diengiai, tienvnd, khachhang, donvi, sohoadon, ngayhoadon, hanthanhtoan, chinhanh, id FROM ketoanphaithuchitiet WHERE (id = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@taikhoan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="taikhoan" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@phatsinh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="phatsinh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@diengiai" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="diengiai" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tienvnd" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tienvnd" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@khachhang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="khachhang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@donvi" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="donvi" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@sohoadon" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sohoadon" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ngayhoadon" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngayhoadon" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@hanthanhtoan" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="hanthanhtoan" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT ma, taikhoan, phatsinh, diengiai, tienvnd, khachhang, donvi, sohoadon, ngayhoadon, hanthanhtoan, chinhanh, id FROM dbo.ketoanphaithuchitiet</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[ketoanphaithuchitiet] SET [ma] = @ma, [taikhoan] = @taikhoan, [phatsinh] = @phatsinh, [diengiai] = @diengiai, [tienvnd] = @tienvnd, [khachhang] = @khachhang, [donvi] = @donvi, [sohoadon] = @sohoadon, [ngayhoadon] = @ngayhoadon, [hanthanhtoan] = @hanthanhtoan, [chinhanh] = @chinhanh WHERE (([ma] = @Original_ma) AND ([taikhoan] = @Original_taikhoan) AND ([phatsinh] = @Original_phatsinh) AND ((@IsNull_diengiai = 1 AND [diengiai] IS NULL) OR ([diengiai] = @Original_diengiai)) AND ([tienvnd] = @Original_tienvnd) AND ([khachhang] = @Original_khachhang) AND ([donvi] = @Original_donvi) AND ([sohoadon] = @Original_sohoadon) AND ([ngayhoadon] = @Original_ngayhoadon) AND ([hanthanhtoan] = @Original_hanthanhtoan) AND ([chinhanh] = @Original_chinhanh) AND ([id] = @Original_id));
SELECT ma, taikhoan, phatsinh, diengiai, tienvnd, khachhang, donvi, sohoadon, ngayhoadon, hanthanhtoan, chinhanh, id FROM ketoanphaithuchitiet WHERE (id = @id)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@taikhoan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="taikhoan" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@phatsinh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="phatsinh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@diengiai" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="diengiai" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tienvnd" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tienvnd" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@khachhang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="khachhang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@donvi" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="donvi" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@sohoadon" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sohoadon" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ngayhoadon" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngayhoadon" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@hanthanhtoan" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="hanthanhtoan" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_taikhoan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="taikhoan" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_phatsinh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="phatsinh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_diengiai" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="diengiai" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_diengiai" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="diengiai" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tienvnd" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tienvnd" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_khachhang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="khachhang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_donvi" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="donvi" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_sohoadon" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sohoadon" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_ngayhoadon" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngayhoadon" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_hanthanhtoan" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="hanthanhtoan" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="id" ColumnName="id" DataSourceName="erpharma.dbo.ketoanphaithuchitiet" DataTypeServer="decimal" DbType="Decimal" Direction="Input" ParameterName="@id" Precision="18" ProviderType="Decimal" Scale="0" Size="9" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ma" DataSetColumn="ma" />
              <Mapping SourceColumn="taikhoan" DataSetColumn="taikhoan" />
              <Mapping SourceColumn="phatsinh" DataSetColumn="phatsinh" />
              <Mapping SourceColumn="diengiai" DataSetColumn="diengiai" />
              <Mapping SourceColumn="tienvnd" DataSetColumn="tienvnd" />
              <Mapping SourceColumn="khachhang" DataSetColumn="khachhang" />
              <Mapping SourceColumn="donvi" DataSetColumn="donvi" />
              <Mapping SourceColumn="sohoadon" DataSetColumn="sohoadon" />
              <Mapping SourceColumn="ngayhoadon" DataSetColumn="ngayhoadon" />
              <Mapping SourceColumn="hanthanhtoan" DataSetColumn="hanthanhtoan" />
              <Mapping SourceColumn="chinhanh" DataSetColumn="chinhanh" />
              <Mapping SourceColumn="id" DataSetColumn="id" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="ketoantienmatTableAdapter" GeneratorDataComponentClassName="ketoantienmatTableAdapter" Name="ketoantienmat" UserDataComponentName="ketoantienmatTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="erpharmaConnectionString (MySettings)" DbObjectName="erpharma.dbo.ketoantienmat" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[ketoantienmat] WHERE (([ma] = @Original_ma) AND ((@IsNull_nghiepvu = 1 AND [nghiepvu] IS NULL) OR ([nghiepvu] = @Original_nghiepvu)) AND ((@IsNull_sochungtu = 1 AND [sochungtu] IS NULL) OR ([sochungtu] = @Original_sochungtu)) AND ((@IsNull_ngaylap = 1 AND [ngaylap] IS NULL) OR ([ngaylap] = @Original_ngaylap)) AND ((@IsNull_hoten = 1 AND [hoten] IS NULL) OR ([hoten] = @Original_hoten)) AND ((@IsNull_bophan = 1 AND [bophan] IS NULL) OR ([bophan] = @Original_bophan)) AND ((@IsNull_donvi = 1 AND [donvi] IS NULL) OR ([donvi] = @Original_donvi)) AND ((@IsNull_noidung = 1 AND [noidung] IS NULL) OR ([noidung] = @Original_noidung)) AND ((@IsNull_thamchieu = 1 AND [thamchieu] IS NULL) OR ([thamchieu] = @Original_thamchieu)) AND ((@IsNull_chungtukem = 1 AND [chungtukem] IS NULL) OR ([chungtukem] = @Original_chungtukem)) AND ((@IsNull_loaitien = 1 AND [loaitien] IS NULL) OR ([loaitien] = @Original_loaitien)) AND ([tygia] = @Original_tygia) AND ((@IsNull_nguyente = 1 AND [nguyente] IS NULL) OR ([nguyente] = @Original_nguyente)) AND ([tienvnd] = @Original_tienvnd) AND ((@IsNull_tinhtrang = 1 AND [tinhtrang] IS NULL) OR ([tinhtrang] = @Original_tinhtrang)) AND ((@IsNull_chinhanh = 1 AND [chinhanh] IS NULL) OR ([chinhanh] = @Original_chinhanh)) AND ([id] = @Original_id))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_nghiepvu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nghiepvu" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_nghiepvu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="nghiepvu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_sochungtu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="sochungtu" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_sochungtu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sochungtu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ngaylap" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ngaylap" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_ngaylap" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngaylap" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_hoten" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="hoten" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_hoten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="hoten" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_bophan" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="bophan" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_bophan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="bophan" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_donvi" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="donvi" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_donvi" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="donvi" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_noidung" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="noidung" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_noidung" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="noidung" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_thamchieu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="thamchieu" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_thamchieu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="thamchieu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chungtukem" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chungtukem" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chungtukem" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chungtukem" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_loaitien" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="loaitien" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_loaitien" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="loaitien" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_tygia" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="tygia" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_nguyente" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nguyente" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_nguyente" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="nguyente" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_tienvnd" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="tienvnd" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tinhtrang" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chinhanh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[ketoantienmat] ([ma], [nghiepvu], [sochungtu], [ngaylap], [hoten], [bophan], [donvi], [noidung], [thamchieu], [chungtukem], [loaitien], [tygia], [nguyente], [tienvnd], [tinhtrang], [chinhanh]) VALUES (@ma, @nghiepvu, @sochungtu, @ngaylap, @hoten, @bophan, @donvi, @noidung, @thamchieu, @chungtukem, @loaitien, @tygia, @nguyente, @tienvnd, @tinhtrang, @chinhanh);
SELECT ma, nghiepvu, sochungtu, ngaylap, hoten, bophan, donvi, noidung, thamchieu, chungtukem, loaitien, tygia, nguyente, tienvnd, tinhtrang, chinhanh, id FROM ketoantienmat WHERE (id = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@nghiepvu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="nghiepvu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@sochungtu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sochungtu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ngaylap" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngaylap" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@hoten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="hoten" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@bophan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="bophan" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@donvi" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="donvi" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@noidung" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="noidung" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@thamchieu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="thamchieu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chungtukem" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chungtukem" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@loaitien" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="loaitien" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@tygia" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="tygia" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@nguyente" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="nguyente" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@tienvnd" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="tienvnd" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT ma, nghiepvu, sochungtu, ngaylap, hoten, bophan, donvi, noidung, thamchieu, chungtukem, loaitien, tygia, nguyente, tienvnd, tinhtrang, chinhanh, id FROM dbo.ketoantienmat</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[ketoantienmat] SET [ma] = @ma, [nghiepvu] = @nghiepvu, [sochungtu] = @sochungtu, [ngaylap] = @ngaylap, [hoten] = @hoten, [bophan] = @bophan, [donvi] = @donvi, [noidung] = @noidung, [thamchieu] = @thamchieu, [chungtukem] = @chungtukem, [loaitien] = @loaitien, [tygia] = @tygia, [nguyente] = @nguyente, [tienvnd] = @tienvnd, [tinhtrang] = @tinhtrang, [chinhanh] = @chinhanh WHERE (([ma] = @Original_ma) AND ((@IsNull_nghiepvu = 1 AND [nghiepvu] IS NULL) OR ([nghiepvu] = @Original_nghiepvu)) AND ((@IsNull_sochungtu = 1 AND [sochungtu] IS NULL) OR ([sochungtu] = @Original_sochungtu)) AND ((@IsNull_ngaylap = 1 AND [ngaylap] IS NULL) OR ([ngaylap] = @Original_ngaylap)) AND ((@IsNull_hoten = 1 AND [hoten] IS NULL) OR ([hoten] = @Original_hoten)) AND ((@IsNull_bophan = 1 AND [bophan] IS NULL) OR ([bophan] = @Original_bophan)) AND ((@IsNull_donvi = 1 AND [donvi] IS NULL) OR ([donvi] = @Original_donvi)) AND ((@IsNull_noidung = 1 AND [noidung] IS NULL) OR ([noidung] = @Original_noidung)) AND ((@IsNull_thamchieu = 1 AND [thamchieu] IS NULL) OR ([thamchieu] = @Original_thamchieu)) AND ((@IsNull_chungtukem = 1 AND [chungtukem] IS NULL) OR ([chungtukem] = @Original_chungtukem)) AND ((@IsNull_loaitien = 1 AND [loaitien] IS NULL) OR ([loaitien] = @Original_loaitien)) AND ([tygia] = @Original_tygia) AND ((@IsNull_nguyente = 1 AND [nguyente] IS NULL) OR ([nguyente] = @Original_nguyente)) AND ([tienvnd] = @Original_tienvnd) AND ((@IsNull_tinhtrang = 1 AND [tinhtrang] IS NULL) OR ([tinhtrang] = @Original_tinhtrang)) AND ((@IsNull_chinhanh = 1 AND [chinhanh] IS NULL) OR ([chinhanh] = @Original_chinhanh)) AND ([id] = @Original_id));
SELECT ma, nghiepvu, sochungtu, ngaylap, hoten, bophan, donvi, noidung, thamchieu, chungtukem, loaitien, tygia, nguyente, tienvnd, tinhtrang, chinhanh, id FROM ketoantienmat WHERE (id = @id)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@nghiepvu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="nghiepvu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@sochungtu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sochungtu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ngaylap" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngaylap" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@hoten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="hoten" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@bophan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="bophan" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@donvi" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="donvi" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@noidung" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="noidung" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@thamchieu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="thamchieu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chungtukem" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chungtukem" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@loaitien" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="loaitien" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@tygia" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="tygia" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@nguyente" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="nguyente" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@tienvnd" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="tienvnd" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_nghiepvu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nghiepvu" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_nghiepvu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="nghiepvu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_sochungtu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="sochungtu" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_sochungtu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sochungtu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ngaylap" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ngaylap" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_ngaylap" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngaylap" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_hoten" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="hoten" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_hoten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="hoten" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_bophan" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="bophan" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_bophan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="bophan" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_donvi" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="donvi" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_donvi" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="donvi" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_noidung" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="noidung" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_noidung" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="noidung" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_thamchieu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="thamchieu" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_thamchieu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="thamchieu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chungtukem" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chungtukem" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chungtukem" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chungtukem" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_loaitien" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="loaitien" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_loaitien" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="loaitien" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_tygia" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="tygia" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_nguyente" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nguyente" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_nguyente" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="nguyente" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_tienvnd" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="tienvnd" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tinhtrang" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chinhanh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="id" ColumnName="id" DataSourceName="erpharma.dbo.ketoantienmat" DataTypeServer="decimal" DbType="Decimal" Direction="Input" ParameterName="@id" Precision="18" ProviderType="Decimal" Scale="0" Size="9" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ma" DataSetColumn="ma" />
              <Mapping SourceColumn="nghiepvu" DataSetColumn="nghiepvu" />
              <Mapping SourceColumn="sochungtu" DataSetColumn="sochungtu" />
              <Mapping SourceColumn="ngaylap" DataSetColumn="ngaylap" />
              <Mapping SourceColumn="hoten" DataSetColumn="hoten" />
              <Mapping SourceColumn="bophan" DataSetColumn="bophan" />
              <Mapping SourceColumn="donvi" DataSetColumn="donvi" />
              <Mapping SourceColumn="noidung" DataSetColumn="noidung" />
              <Mapping SourceColumn="thamchieu" DataSetColumn="thamchieu" />
              <Mapping SourceColumn="chungtukem" DataSetColumn="chungtukem" />
              <Mapping SourceColumn="loaitien" DataSetColumn="loaitien" />
              <Mapping SourceColumn="tygia" DataSetColumn="tygia" />
              <Mapping SourceColumn="nguyente" DataSetColumn="nguyente" />
              <Mapping SourceColumn="tienvnd" DataSetColumn="tienvnd" />
              <Mapping SourceColumn="tinhtrang" DataSetColumn="tinhtrang" />
              <Mapping SourceColumn="chinhanh" DataSetColumn="chinhanh" />
              <Mapping SourceColumn="id" DataSetColumn="id" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="ketoantienmatchitietTableAdapter" GeneratorDataComponentClassName="ketoantienmatchitietTableAdapter" Name="ketoantienmatchitiet" UserDataComponentName="ketoantienmatchitietTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="erpharmaConnectionString (MySettings)" DbObjectName="erpharma.dbo.ketoantienmatchitiet" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[ketoantienmatchitiet] WHERE (([ma] = @Original_ma) AND ((@IsNull_taikhoanno = 1 AND [taikhoanno] IS NULL) OR ([taikhoanno] = @Original_taikhoanno)) AND ((@IsNull_taikhoanco = 1 AND [taikhoanco] IS NULL) OR ([taikhoanco] = @Original_taikhoanco)) AND ((@IsNull_nguyente = 1 AND [nguyente] IS NULL) OR ([nguyente] = @Original_nguyente)) AND ((@IsNull_tienvnd = 1 AND [tienvnd] IS NULL) OR ([tienvnd] = @Original_tienvnd)) AND ((@IsNull_diengiai = 1 AND [diengiai] IS NULL) OR ([diengiai] = @Original_diengiai)) AND ((@IsNull_donvi = 1 AND [donvi] IS NULL) OR ([donvi] = @Original_donvi)) AND ((@IsNull_sohoadon = 1 AND [sohoadon] IS NULL) OR ([sohoadon] = @Original_sohoadon)) AND ((@IsNull_ngay = 1 AND [ngay] IS NULL) OR ([ngay] = @Original_ngay)) AND ((@IsNull_khoanmuc = 1 AND [khoanmuc] IS NULL) OR ([khoanmuc] = @Original_khoanmuc)) AND ((@IsNull_phongban = 1 AND [phongban] IS NULL) OR ([phongban] = @Original_phongban)) AND ((@IsNull_hangmuc = 1 AND [hangmuc] IS NULL) OR ([hangmuc] = @Original_hangmuc)) AND ((@IsNull_hopdong = 1 AND [hopdong] IS NULL) OR ([hopdong] = @Original_hopdong)) AND ((@IsNull_nguonvon = 1 AND [nguonvon] IS NULL) OR ([nguonvon] = @Original_nguonvon)) AND ((@IsNull_soserial = 1 AND [soserial] IS NULL) OR ([soserial] = @Original_soserial)) AND ((@IsNull_loaihoadon = 1 AND [loaihoadon] IS NULL) OR ([loaihoadon] = @Original_loaihoadon)) AND ((@IsNull_ngayhoadon = 1 AND [ngayhoadon] IS NULL) OR ([ngayhoadon] = @Original_ngayhoadon)) AND ((@IsNull_tenhang = 1 AND [tenhang] IS NULL) OR ([tenhang] = @Original_tenhang)) AND ((@IsNull_diachi = 1 AND [diachi] IS NULL) OR ([diachi] = @Original_diachi)) AND ((@IsNull_masothue = 1 AND [masothue] IS NULL) OR ([masothue] = @Original_masothue)) AND ((@IsNull_doanhthu = 1 AND [doanhthu] IS NULL) OR ([doanhthu] = @Original_doanhthu)) AND ([phantramthue] = @Original_phantramthue) AND ([thue] = @Original_thue) AND ([tongcong] = @Original_tongcong) AND ((@IsNull_chinhanh = 1 AND [chinhanh] IS NULL) OR ([chinhanh] = @Original_chinhanh)) AND ([id] = @Original_id))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_taikhoanno" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="taikhoanno" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_taikhoanno" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="taikhoanno" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_taikhoanco" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="taikhoanco" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_taikhoanco" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="taikhoanco" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_nguyente" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nguyente" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_nguyente" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="nguyente" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tienvnd" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tienvnd" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_tienvnd" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="tienvnd" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_diengiai" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="diengiai" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_diengiai" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="diengiai" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_donvi" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="donvi" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_donvi" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="donvi" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_sohoadon" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="sohoadon" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_sohoadon" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sohoadon" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ngay" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ngay" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_ngay" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngay" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_khoanmuc" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="khoanmuc" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_khoanmuc" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="khoanmuc" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_phongban" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="phongban" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_phongban" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="phongban" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_hangmuc" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="hangmuc" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_hangmuc" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="hangmuc" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_hopdong" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="hopdong" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_hopdong" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="hopdong" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_nguonvon" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nguonvon" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_nguonvon" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="nguonvon" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_soserial" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="soserial" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_soserial" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="soserial" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_loaihoadon" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="loaihoadon" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_loaihoadon" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="loaihoadon" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ngayhoadon" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ngayhoadon" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_ngayhoadon" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngayhoadon" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tenhang" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tenhang" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tenhang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tenhang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_diachi" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="diachi" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_diachi" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="diachi" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_masothue" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="masothue" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_masothue" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="masothue" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_doanhthu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="doanhthu" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_doanhthu" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="doanhthu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_phantramthue" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="phantramthue" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_thue" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="thue" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_tongcong" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="tongcong" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chinhanh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[ketoantienmatchitiet] ([ma], [taikhoanno], [taikhoanco], [nguyente], [tienvnd], [diengiai], [donvi], [sohoadon], [ngay], [khoanmuc], [phongban], [hangmuc], [hopdong], [nguonvon], [soserial], [loaihoadon], [ngayhoadon], [tenhang], [diachi], [masothue], [doanhthu], [phantramthue], [thue], [tongcong], [chinhanh]) VALUES (@ma, @taikhoanno, @taikhoanco, @nguyente, @tienvnd, @diengiai, @donvi, @sohoadon, @ngay, @khoanmuc, @phongban, @hangmuc, @hopdong, @nguonvon, @soserial, @loaihoadon, @ngayhoadon, @tenhang, @diachi, @masothue, @doanhthu, @phantramthue, @thue, @tongcong, @chinhanh);
SELECT ma, taikhoanno, taikhoanco, nguyente, tienvnd, diengiai, donvi, sohoadon, ngay, khoanmuc, phongban, hangmuc, hopdong, nguonvon, soserial, loaihoadon, ngayhoadon, tenhang, diachi, masothue, doanhthu, phantramthue, thue, tongcong, chinhanh, id FROM ketoantienmatchitiet WHERE (id = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@taikhoanno" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="taikhoanno" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@taikhoanco" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="taikhoanco" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@nguyente" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="nguyente" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@tienvnd" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="tienvnd" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@diengiai" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="diengiai" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@donvi" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="donvi" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@sohoadon" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sohoadon" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ngay" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngay" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@khoanmuc" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="khoanmuc" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@phongban" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="phongban" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@hangmuc" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="hangmuc" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@hopdong" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="hopdong" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@nguonvon" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="nguonvon" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@soserial" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="soserial" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@loaihoadon" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="loaihoadon" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ngayhoadon" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngayhoadon" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tenhang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tenhang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@diachi" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="diachi" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@masothue" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="masothue" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@doanhthu" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="doanhthu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@phantramthue" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="phantramthue" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@thue" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="thue" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@tongcong" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="tongcong" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT ma, taikhoanno, taikhoanco, nguyente, tienvnd, diengiai, donvi, sohoadon, ngay, khoanmuc, phongban, hangmuc, hopdong, nguonvon, soserial, loaihoadon, ngayhoadon, tenhang, diachi, masothue, doanhthu, phantramthue, thue, tongcong, chinhanh, id FROM dbo.ketoantienmatchitiet</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[ketoantienmatchitiet] SET [ma] = @ma, [taikhoanno] = @taikhoanno, [taikhoanco] = @taikhoanco, [nguyente] = @nguyente, [tienvnd] = @tienvnd, [diengiai] = @diengiai, [donvi] = @donvi, [sohoadon] = @sohoadon, [ngay] = @ngay, [khoanmuc] = @khoanmuc, [phongban] = @phongban, [hangmuc] = @hangmuc, [hopdong] = @hopdong, [nguonvon] = @nguonvon, [soserial] = @soserial, [loaihoadon] = @loaihoadon, [ngayhoadon] = @ngayhoadon, [tenhang] = @tenhang, [diachi] = @diachi, [masothue] = @masothue, [doanhthu] = @doanhthu, [phantramthue] = @phantramthue, [thue] = @thue, [tongcong] = @tongcong, [chinhanh] = @chinhanh WHERE (([ma] = @Original_ma) AND ((@IsNull_taikhoanno = 1 AND [taikhoanno] IS NULL) OR ([taikhoanno] = @Original_taikhoanno)) AND ((@IsNull_taikhoanco = 1 AND [taikhoanco] IS NULL) OR ([taikhoanco] = @Original_taikhoanco)) AND ((@IsNull_nguyente = 1 AND [nguyente] IS NULL) OR ([nguyente] = @Original_nguyente)) AND ((@IsNull_tienvnd = 1 AND [tienvnd] IS NULL) OR ([tienvnd] = @Original_tienvnd)) AND ((@IsNull_diengiai = 1 AND [diengiai] IS NULL) OR ([diengiai] = @Original_diengiai)) AND ((@IsNull_donvi = 1 AND [donvi] IS NULL) OR ([donvi] = @Original_donvi)) AND ((@IsNull_sohoadon = 1 AND [sohoadon] IS NULL) OR ([sohoadon] = @Original_sohoadon)) AND ((@IsNull_ngay = 1 AND [ngay] IS NULL) OR ([ngay] = @Original_ngay)) AND ((@IsNull_khoanmuc = 1 AND [khoanmuc] IS NULL) OR ([khoanmuc] = @Original_khoanmuc)) AND ((@IsNull_phongban = 1 AND [phongban] IS NULL) OR ([phongban] = @Original_phongban)) AND ((@IsNull_hangmuc = 1 AND [hangmuc] IS NULL) OR ([hangmuc] = @Original_hangmuc)) AND ((@IsNull_hopdong = 1 AND [hopdong] IS NULL) OR ([hopdong] = @Original_hopdong)) AND ((@IsNull_nguonvon = 1 AND [nguonvon] IS NULL) OR ([nguonvon] = @Original_nguonvon)) AND ((@IsNull_soserial = 1 AND [soserial] IS NULL) OR ([soserial] = @Original_soserial)) AND ((@IsNull_loaihoadon = 1 AND [loaihoadon] IS NULL) OR ([loaihoadon] = @Original_loaihoadon)) AND ((@IsNull_ngayhoadon = 1 AND [ngayhoadon] IS NULL) OR ([ngayhoadon] = @Original_ngayhoadon)) AND ((@IsNull_tenhang = 1 AND [tenhang] IS NULL) OR ([tenhang] = @Original_tenhang)) AND ((@IsNull_diachi = 1 AND [diachi] IS NULL) OR ([diachi] = @Original_diachi)) AND ((@IsNull_masothue = 1 AND [masothue] IS NULL) OR ([masothue] = @Original_masothue)) AND ((@IsNull_doanhthu = 1 AND [doanhthu] IS NULL) OR ([doanhthu] = @Original_doanhthu)) AND ([phantramthue] = @Original_phantramthue) AND ([thue] = @Original_thue) AND ([tongcong] = @Original_tongcong) AND ((@IsNull_chinhanh = 1 AND [chinhanh] IS NULL) OR ([chinhanh] = @Original_chinhanh)) AND ([id] = @Original_id));
SELECT ma, taikhoanno, taikhoanco, nguyente, tienvnd, diengiai, donvi, sohoadon, ngay, khoanmuc, phongban, hangmuc, hopdong, nguonvon, soserial, loaihoadon, ngayhoadon, tenhang, diachi, masothue, doanhthu, phantramthue, thue, tongcong, chinhanh, id FROM ketoantienmatchitiet WHERE (id = @id)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@taikhoanno" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="taikhoanno" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@taikhoanco" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="taikhoanco" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@nguyente" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="nguyente" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@tienvnd" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="tienvnd" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@diengiai" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="diengiai" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@donvi" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="donvi" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@sohoadon" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sohoadon" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ngay" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngay" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@khoanmuc" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="khoanmuc" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@phongban" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="phongban" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@hangmuc" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="hangmuc" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@hopdong" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="hopdong" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@nguonvon" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="nguonvon" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@soserial" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="soserial" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@loaihoadon" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="loaihoadon" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ngayhoadon" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngayhoadon" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tenhang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tenhang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@diachi" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="diachi" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@masothue" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="masothue" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@doanhthu" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="doanhthu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@phantramthue" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="phantramthue" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@thue" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="thue" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@tongcong" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="tongcong" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_taikhoanno" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="taikhoanno" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_taikhoanno" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="taikhoanno" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_taikhoanco" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="taikhoanco" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_taikhoanco" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="taikhoanco" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_nguyente" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nguyente" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_nguyente" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="nguyente" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tienvnd" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tienvnd" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_tienvnd" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="tienvnd" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_diengiai" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="diengiai" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_diengiai" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="diengiai" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_donvi" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="donvi" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_donvi" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="donvi" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_sohoadon" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="sohoadon" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_sohoadon" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sohoadon" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ngay" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ngay" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_ngay" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngay" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_khoanmuc" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="khoanmuc" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_khoanmuc" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="khoanmuc" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_phongban" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="phongban" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_phongban" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="phongban" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_hangmuc" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="hangmuc" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_hangmuc" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="hangmuc" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_hopdong" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="hopdong" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_hopdong" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="hopdong" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_nguonvon" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nguonvon" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_nguonvon" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="nguonvon" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_soserial" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="soserial" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_soserial" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="soserial" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_loaihoadon" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="loaihoadon" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_loaihoadon" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="loaihoadon" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ngayhoadon" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ngayhoadon" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_ngayhoadon" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngayhoadon" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tenhang" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tenhang" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tenhang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tenhang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_diachi" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="diachi" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_diachi" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="diachi" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_masothue" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="masothue" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_masothue" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="masothue" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_doanhthu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="doanhthu" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_doanhthu" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="doanhthu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_phantramthue" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="phantramthue" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_thue" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="thue" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_tongcong" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="tongcong" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chinhanh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="id" ColumnName="id" DataSourceName="erpharma.dbo.ketoantienmatchitiet" DataTypeServer="decimal" DbType="Decimal" Direction="Input" ParameterName="@id" Precision="18" ProviderType="Decimal" Scale="0" Size="9" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ma" DataSetColumn="ma" />
              <Mapping SourceColumn="taikhoanno" DataSetColumn="taikhoanno" />
              <Mapping SourceColumn="taikhoanco" DataSetColumn="taikhoanco" />
              <Mapping SourceColumn="nguyente" DataSetColumn="nguyente" />
              <Mapping SourceColumn="tienvnd" DataSetColumn="tienvnd" />
              <Mapping SourceColumn="diengiai" DataSetColumn="diengiai" />
              <Mapping SourceColumn="donvi" DataSetColumn="donvi" />
              <Mapping SourceColumn="sohoadon" DataSetColumn="sohoadon" />
              <Mapping SourceColumn="ngay" DataSetColumn="ngay" />
              <Mapping SourceColumn="khoanmuc" DataSetColumn="khoanmuc" />
              <Mapping SourceColumn="phongban" DataSetColumn="phongban" />
              <Mapping SourceColumn="hangmuc" DataSetColumn="hangmuc" />
              <Mapping SourceColumn="hopdong" DataSetColumn="hopdong" />
              <Mapping SourceColumn="nguonvon" DataSetColumn="nguonvon" />
              <Mapping SourceColumn="soserial" DataSetColumn="soserial" />
              <Mapping SourceColumn="loaihoadon" DataSetColumn="loaihoadon" />
              <Mapping SourceColumn="ngayhoadon" DataSetColumn="ngayhoadon" />
              <Mapping SourceColumn="tenhang" DataSetColumn="tenhang" />
              <Mapping SourceColumn="diachi" DataSetColumn="diachi" />
              <Mapping SourceColumn="masothue" DataSetColumn="masothue" />
              <Mapping SourceColumn="doanhthu" DataSetColumn="doanhthu" />
              <Mapping SourceColumn="phantramthue" DataSetColumn="phantramthue" />
              <Mapping SourceColumn="thue" DataSetColumn="thue" />
              <Mapping SourceColumn="tongcong" DataSetColumn="tongcong" />
              <Mapping SourceColumn="chinhanh" DataSetColumn="chinhanh" />
              <Mapping SourceColumn="id" DataSetColumn="id" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="menuTableAdapter" GeneratorDataComponentClassName="menuTableAdapter" Name="menu" UserDataComponentName="menuTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="erpharmaConnectionString (MySettings)" DbObjectName="erpharma.dbo.menu" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[menu] WHERE (([ma] = @Original_ma) AND ([ten] = @Original_ten) AND ([tentienganh] = @Original_tentienganh) AND ([tieude] = @Original_tieude) AND ((@IsNull_ghichu = 1 AND [ghichu] IS NULL) OR ([ghichu] = @Original_ghichu)) AND ([id] = @Original_id))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tentienganh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tentienganh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tieude" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tieude" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ghichu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ghichu" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ghichu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ghichu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[menu] ([ma], [ten], [tentienganh], [tieude], [ghichu]) VALUES (@ma, @ten, @tentienganh, @tieude, @ghichu);
SELECT ma, ten, tentienganh, tieude, ghichu, id FROM menu WHERE (id = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tentienganh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tentienganh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tieude" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tieude" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ghichu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ghichu" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT ma, ten, tentienganh, tieude, ghichu, id FROM dbo.menu</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[menu] SET [ma] = @ma, [ten] = @ten, [tentienganh] = @tentienganh, [tieude] = @tieude, [ghichu] = @ghichu WHERE (([ma] = @Original_ma) AND ([ten] = @Original_ten) AND ([tentienganh] = @Original_tentienganh) AND ([tieude] = @Original_tieude) AND ((@IsNull_ghichu = 1 AND [ghichu] IS NULL) OR ([ghichu] = @Original_ghichu)) AND ([id] = @Original_id));
SELECT ma, ten, tentienganh, tieude, ghichu, id FROM menu WHERE (id = @id)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tentienganh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tentienganh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tieude" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tieude" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ghichu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ghichu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tentienganh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tentienganh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tieude" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tieude" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ghichu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ghichu" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ghichu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ghichu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="id" ColumnName="id" DataSourceName="erpharma.dbo.menu" DataTypeServer="numeric" DbType="Decimal" Direction="Input" ParameterName="@id" Precision="18" ProviderType="Decimal" Scale="0" Size="9" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ma" DataSetColumn="ma" />
              <Mapping SourceColumn="ten" DataSetColumn="ten" />
              <Mapping SourceColumn="tentienganh" DataSetColumn="tentienganh" />
              <Mapping SourceColumn="tieude" DataSetColumn="tieude" />
              <Mapping SourceColumn="ghichu" DataSetColumn="ghichu" />
              <Mapping SourceColumn="id" DataSetColumn="id" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="menuitemTableAdapter" GeneratorDataComponentClassName="menuitemTableAdapter" Name="menuitem" UserDataComponentName="menuitemTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="erpharmaConnectionString (MySettings)" DbObjectName="erpharma.dbo.menuitem" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[menuitem] WHERE (([mamenu] = @Original_mamenu) AND ([ma] = @Original_ma) AND ([ten] = @Original_ten) AND ([tentienganh] = @Original_tentienganh) AND ((@IsNull_ghichu = 1 AND [ghichu] IS NULL) OR ([ghichu] = @Original_ghichu)) AND ([id] = @Original_id))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_mamenu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="mamenu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tentienganh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tentienganh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ghichu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ghichu" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ghichu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ghichu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[menuitem] ([mamenu], [ma], [ten], [tentienganh], [hinh], [ghichu]) VALUES (@mamenu, @ma, @ten, @tentienganh, @hinh, @ghichu);
SELECT mamenu, ma, ten, tentienganh, hinh, ghichu, id FROM menuitem WHERE (id = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@mamenu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="mamenu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tentienganh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tentienganh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Binary" Direction="Input" ParameterName="@hinh" Precision="0" ProviderType="Image" Scale="0" Size="0" SourceColumn="hinh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ghichu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ghichu" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT mamenu, ma, ten, tentienganh, hinh, ghichu, id FROM dbo.menuitem</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[menuitem] SET [mamenu] = @mamenu, [ma] = @ma, [ten] = @ten, [tentienganh] = @tentienganh, [hinh] = @hinh, [ghichu] = @ghichu WHERE (([mamenu] = @Original_mamenu) AND ([ma] = @Original_ma) AND ([ten] = @Original_ten) AND ([tentienganh] = @Original_tentienganh) AND ((@IsNull_ghichu = 1 AND [ghichu] IS NULL) OR ([ghichu] = @Original_ghichu)) AND ([id] = @Original_id));
SELECT mamenu, ma, ten, tentienganh, hinh, ghichu, id FROM menuitem WHERE (id = @id)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@mamenu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="mamenu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tentienganh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tentienganh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Binary" Direction="Input" ParameterName="@hinh" Precision="0" ProviderType="Image" Scale="0" Size="0" SourceColumn="hinh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ghichu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ghichu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_mamenu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="mamenu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tentienganh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tentienganh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ghichu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ghichu" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ghichu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ghichu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="id" ColumnName="id" DataSourceName="erpharma.dbo.menuitem" DataTypeServer="numeric" DbType="Decimal" Direction="Input" ParameterName="@id" Precision="18" ProviderType="Decimal" Scale="0" Size="9" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="mamenu" DataSetColumn="mamenu" />
              <Mapping SourceColumn="ma" DataSetColumn="ma" />
              <Mapping SourceColumn="ten" DataSetColumn="ten" />
              <Mapping SourceColumn="tentienganh" DataSetColumn="tentienganh" />
              <Mapping SourceColumn="hinh" DataSetColumn="hinh" />
              <Mapping SourceColumn="ghichu" DataSetColumn="ghichu" />
              <Mapping SourceColumn="id" DataSetColumn="id" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="nguoidungTableAdapter" GeneratorDataComponentClassName="nguoidungTableAdapter" Name="nguoidung" UserDataComponentName="nguoidungTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="erpharmaConnectionString (MySettings)" DbObjectName="erpharma.dbo.nguoidung" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[nguoidung] WHERE (([ma] = @Original_ma) AND ([matkhau] = @Original_matkhau) AND ((@IsNull_goinho = 1 AND [goinho] IS NULL) OR ([goinho] = @Original_goinho)) AND ([nho] = @Original_nho) AND ([nhom] = @Original_nhom) AND ([chinhanh] = @Original_chinhanh) AND ([id] = @Original_id))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_matkhau" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="matkhau" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_goinho" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="goinho" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_goinho" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="goinho" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_nho" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="nho" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_nhom" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="nhom" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[nguoidung] ([ma], [matkhau], [goinho], [nho], [nhom], [chinhanh]) VALUES (@ma, @matkhau, @goinho, @nho, @nhom, @chinhanh);
SELECT ma, matkhau, goinho, nho, nhom, chinhanh, id FROM nguoidung WHERE (id = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@matkhau" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="matkhau" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@goinho" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="goinho" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@nho" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="nho" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@nhom" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="nhom" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT ma, matkhau, goinho, nho, nhom, chinhanh, id FROM dbo.nguoidung</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[nguoidung] SET [ma] = @ma, [matkhau] = @matkhau, [goinho] = @goinho, [nho] = @nho, [nhom] = @nhom, [chinhanh] = @chinhanh WHERE (([ma] = @Original_ma) AND ([matkhau] = @Original_matkhau) AND ((@IsNull_goinho = 1 AND [goinho] IS NULL) OR ([goinho] = @Original_goinho)) AND ([nho] = @Original_nho) AND ([nhom] = @Original_nhom) AND ([chinhanh] = @Original_chinhanh) AND ([id] = @Original_id));
SELECT ma, matkhau, goinho, nho, nhom, chinhanh, id FROM nguoidung WHERE (id = @id)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@matkhau" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="matkhau" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@goinho" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="goinho" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@nho" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="nho" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@nhom" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="nhom" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_matkhau" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="matkhau" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_goinho" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="goinho" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_goinho" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="goinho" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_nho" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="nho" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_nhom" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="nhom" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="id" ColumnName="id" DataSourceName="erpharma.dbo.nguoidung" DataTypeServer="numeric" DbType="Decimal" Direction="Input" ParameterName="@id" Precision="18" ProviderType="Decimal" Scale="0" Size="9" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ma" DataSetColumn="ma" />
              <Mapping SourceColumn="matkhau" DataSetColumn="matkhau" />
              <Mapping SourceColumn="goinho" DataSetColumn="goinho" />
              <Mapping SourceColumn="nho" DataSetColumn="nho" />
              <Mapping SourceColumn="nhom" DataSetColumn="nhom" />
              <Mapping SourceColumn="chinhanh" DataSetColumn="chinhanh" />
              <Mapping SourceColumn="id" DataSetColumn="id" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="nhomnguoidungTableAdapter" GeneratorDataComponentClassName="nhomnguoidungTableAdapter" Name="nhomnguoidung" UserDataComponentName="nhomnguoidungTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="erpharmaConnectionString (MySettings)" DbObjectName="erpharma.dbo.nhomnguoidung" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[nhomnguoidung] WHERE (([ma] = @Original_ma) AND ([ten] = @Original_ten) AND ((@IsNull_ghichu = 1 AND [ghichu] IS NULL) OR ([ghichu] = @Original_ghichu)) AND ([id] = @Original_id))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ghichu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ghichu" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ghichu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ghichu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[nhomnguoidung] ([ma], [ten], [hinh], [ghichu]) VALUES (@ma, @ten, @hinh, @ghichu);
SELECT ma, ten, hinh, ghichu, id FROM nhomnguoidung WHERE (id = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Binary" Direction="Input" ParameterName="@hinh" Precision="0" ProviderType="Image" Scale="0" Size="0" SourceColumn="hinh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ghichu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ghichu" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT ma, ten, hinh, ghichu, id FROM dbo.nhomnguoidung</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[nhomnguoidung] SET [ma] = @ma, [ten] = @ten, [hinh] = @hinh, [ghichu] = @ghichu WHERE (([ma] = @Original_ma) AND ([ten] = @Original_ten) AND ((@IsNull_ghichu = 1 AND [ghichu] IS NULL) OR ([ghichu] = @Original_ghichu)) AND ([id] = @Original_id));
SELECT ma, ten, hinh, ghichu, id FROM nhomnguoidung WHERE (id = @id)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Binary" Direction="Input" ParameterName="@hinh" Precision="0" ProviderType="Image" Scale="0" Size="0" SourceColumn="hinh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ghichu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ghichu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ghichu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ghichu" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ghichu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ghichu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="id" ColumnName="id" DataSourceName="erpharma.dbo.nhomnguoidung" DataTypeServer="numeric" DbType="Decimal" Direction="Input" ParameterName="@id" Precision="18" ProviderType="Decimal" Scale="0" Size="9" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ma" DataSetColumn="ma" />
              <Mapping SourceColumn="ten" DataSetColumn="ten" />
              <Mapping SourceColumn="hinh" DataSetColumn="hinh" />
              <Mapping SourceColumn="ghichu" DataSetColumn="ghichu" />
              <Mapping SourceColumn="id" DataSetColumn="id" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="nhomnguoidung_menuTableAdapter" GeneratorDataComponentClassName="nhomnguoidung_menuTableAdapter" Name="nhomnguoidung_menu" UserDataComponentName="nhomnguoidung_menuTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="erpharmaConnectionString (MySettings)" DbObjectName="erpharma.dbo.nhomnguoidung_menu" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[nhomnguoidung_menu] ([manhomnguoidung], [mamenu], [truycap]) VALUES (@manhomnguoidung, @mamenu, @truycap)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@manhomnguoidung" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="manhomnguoidung" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@mamenu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="mamenu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@truycap" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="truycap" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT manhomnguoidung, mamenu, truycap FROM dbo.nhomnguoidung_menu</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="manhomnguoidung" DataSetColumn="manhomnguoidung" />
              <Mapping SourceColumn="mamenu" DataSetColumn="mamenu" />
              <Mapping SourceColumn="truycap" DataSetColumn="truycap" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="quanlyhopdongtindungTableAdapter" GeneratorDataComponentClassName="quanlyhopdongtindungTableAdapter" Name="quanlyhopdongtindung" UserDataComponentName="quanlyhopdongtindungTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="erpharmaConnectionString (MySettings)" DbObjectName="erpharma.dbo.quanlyhopdongtindung" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[quanlyhopdongtindung] WHERE (([ma] = @Original_ma) AND ([nganhang] = @Original_nganhang) AND ([sohopdong] = @Original_sohopdong) AND ([ngayhopdong] = @Original_ngayhopdong) AND ([hanmuctindung] = @Original_hanmuctindung) AND ([thoihanvay] = @Original_thoihanvay) AND ([songaycanhbaohethan] = @Original_songaycanhbaohethan) AND ([tinhtrang] = @Original_tinhtrang) AND ((@IsNull_chinhanh = 1 AND [chinhanh] IS NULL) OR ([chinhanh] = @Original_chinhanh)) AND ([id] = @Original_id))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_nganhang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="nganhang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_sohopdong" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sohopdong" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_ngayhopdong" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngayhopdong" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_hanmuctindung" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="hanmuctindung" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_thoihanvay" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="thoihanvay" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_songaycanhbaohethan" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="songaycanhbaohethan" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chinhanh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[quanlyhopdongtindung] ([ma], [nganhang], [sohopdong], [ngayhopdong], [hanmuctindung], [thoihanvay], [songaycanhbaohethan], [tinhtrang], [chinhanh]) VALUES (@ma, @nganhang, @sohopdong, @ngayhopdong, @hanmuctindung, @thoihanvay, @songaycanhbaohethan, @tinhtrang, @chinhanh);
SELECT ma, nganhang, sohopdong, ngayhopdong, hanmuctindung, thoihanvay, songaycanhbaohethan, tinhtrang, chinhanh, id FROM quanlyhopdongtindung WHERE (id = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@nganhang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="nganhang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@sohopdong" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sohopdong" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ngayhopdong" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngayhopdong" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@hanmuctindung" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="hanmuctindung" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@thoihanvay" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="thoihanvay" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@songaycanhbaohethan" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="songaycanhbaohethan" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT ma, nganhang, sohopdong, ngayhopdong, hanmuctindung, thoihanvay, songaycanhbaohethan, tinhtrang, chinhanh, id FROM dbo.quanlyhopdongtindung</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[quanlyhopdongtindung] SET [ma] = @ma, [nganhang] = @nganhang, [sohopdong] = @sohopdong, [ngayhopdong] = @ngayhopdong, [hanmuctindung] = @hanmuctindung, [thoihanvay] = @thoihanvay, [songaycanhbaohethan] = @songaycanhbaohethan, [tinhtrang] = @tinhtrang, [chinhanh] = @chinhanh WHERE (([ma] = @Original_ma) AND ([nganhang] = @Original_nganhang) AND ([sohopdong] = @Original_sohopdong) AND ([ngayhopdong] = @Original_ngayhopdong) AND ([hanmuctindung] = @Original_hanmuctindung) AND ([thoihanvay] = @Original_thoihanvay) AND ([songaycanhbaohethan] = @Original_songaycanhbaohethan) AND ([tinhtrang] = @Original_tinhtrang) AND ((@IsNull_chinhanh = 1 AND [chinhanh] IS NULL) OR ([chinhanh] = @Original_chinhanh)) AND ([id] = @Original_id));
SELECT ma, nganhang, sohopdong, ngayhopdong, hanmuctindung, thoihanvay, songaycanhbaohethan, tinhtrang, chinhanh, id FROM quanlyhopdongtindung WHERE (id = @id)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@nganhang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="nganhang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@sohopdong" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sohopdong" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ngayhopdong" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngayhopdong" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@hanmuctindung" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="hanmuctindung" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@thoihanvay" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="thoihanvay" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@songaycanhbaohethan" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="songaycanhbaohethan" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_nganhang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="nganhang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_sohopdong" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sohopdong" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_ngayhopdong" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngayhopdong" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_hanmuctindung" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="hanmuctindung" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_thoihanvay" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="thoihanvay" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_songaycanhbaohethan" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="songaycanhbaohethan" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chinhanh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="id" ColumnName="id" DataSourceName="erpharma.dbo.quanlyhopdongtindung" DataTypeServer="decimal" DbType="Decimal" Direction="Input" ParameterName="@id" Precision="18" ProviderType="Decimal" Scale="0" Size="9" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ma" DataSetColumn="ma" />
              <Mapping SourceColumn="nganhang" DataSetColumn="nganhang" />
              <Mapping SourceColumn="sohopdong" DataSetColumn="sohopdong" />
              <Mapping SourceColumn="ngayhopdong" DataSetColumn="ngayhopdong" />
              <Mapping SourceColumn="hanmuctindung" DataSetColumn="hanmuctindung" />
              <Mapping SourceColumn="thoihanvay" DataSetColumn="thoihanvay" />
              <Mapping SourceColumn="songaycanhbaohethan" DataSetColumn="songaycanhbaohethan" />
              <Mapping SourceColumn="tinhtrang" DataSetColumn="tinhtrang" />
              <Mapping SourceColumn="chinhanh" DataSetColumn="chinhanh" />
              <Mapping SourceColumn="id" DataSetColumn="id" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="quanlyhopdongtindungchitietTableAdapter" GeneratorDataComponentClassName="quanlyhopdongtindungchitietTableAdapter" Name="quanlyhopdongtindungchitiet" UserDataComponentName="quanlyhopdongtindungchitietTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="erpharmaConnectionString (MySettings)" DbObjectName="erpharma.dbo.quanlyhopdongtindungchitiet" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[quanlyhopdongtindungchitiet] WHERE (([ma] = @Original_ma) AND ([loaitien] = @Original_loaitien) AND ([tungay] = @Original_tungay) AND ([denngay] = @Original_denngay) AND ([laisuat] = @Original_laisuat) AND ((@IsNull_diengiai = 1 AND [diengiai] IS NULL) OR ([diengiai] = @Original_diengiai)) AND ([sophuluc] = @Original_sophuluc) AND ([ngayhieuluc] = @Original_ngayhieuluc) AND ([sotien] = @Original_sotien) AND ((@IsNull_diengiaithem = 1 AND [diengiaithem] IS NULL) OR ([diengiaithem] = @Original_diengiaithem)) AND ((@IsNull_chinhanh = 1 AND [chinhanh] IS NULL) OR ([chinhanh] = @Original_chinhanh)) AND ([id] = @Original_id))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_loaitien" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="loaitien" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_tungay" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="tungay" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_denngay" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="denngay" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_laisuat" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="laisuat" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_diengiai" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="diengiai" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_diengiai" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="diengiai" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_sophuluc" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sophuluc" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_ngayhieuluc" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngayhieuluc" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_sotien" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="sotien" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_diengiaithem" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="diengiaithem" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_diengiaithem" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="diengiaithem" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chinhanh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[quanlyhopdongtindungchitiet] ([ma], [loaitien], [tungay], [denngay], [laisuat], [diengiai], [sophuluc], [ngayhieuluc], [sotien], [diengiaithem], [chinhanh]) VALUES (@ma, @loaitien, @tungay, @denngay, @laisuat, @diengiai, @sophuluc, @ngayhieuluc, @sotien, @diengiaithem, @chinhanh);
SELECT ma, loaitien, tungay, denngay, laisuat, diengiai, sophuluc, ngayhieuluc, sotien, diengiaithem, chinhanh, id FROM quanlyhopdongtindungchitiet WHERE (id = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@loaitien" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="loaitien" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@tungay" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="tungay" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@denngay" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="denngay" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@laisuat" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="laisuat" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@diengiai" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="diengiai" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@sophuluc" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sophuluc" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ngayhieuluc" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngayhieuluc" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@sotien" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="sotien" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@diengiaithem" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="diengiaithem" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT ma, loaitien, tungay, denngay, laisuat, diengiai, sophuluc, ngayhieuluc, sotien, diengiaithem, chinhanh, id FROM dbo.quanlyhopdongtindungchitiet</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[quanlyhopdongtindungchitiet] SET [ma] = @ma, [loaitien] = @loaitien, [tungay] = @tungay, [denngay] = @denngay, [laisuat] = @laisuat, [diengiai] = @diengiai, [sophuluc] = @sophuluc, [ngayhieuluc] = @ngayhieuluc, [sotien] = @sotien, [diengiaithem] = @diengiaithem, [chinhanh] = @chinhanh WHERE (([ma] = @Original_ma) AND ([loaitien] = @Original_loaitien) AND ([tungay] = @Original_tungay) AND ([denngay] = @Original_denngay) AND ([laisuat] = @Original_laisuat) AND ((@IsNull_diengiai = 1 AND [diengiai] IS NULL) OR ([diengiai] = @Original_diengiai)) AND ([sophuluc] = @Original_sophuluc) AND ([ngayhieuluc] = @Original_ngayhieuluc) AND ([sotien] = @Original_sotien) AND ((@IsNull_diengiaithem = 1 AND [diengiaithem] IS NULL) OR ([diengiaithem] = @Original_diengiaithem)) AND ((@IsNull_chinhanh = 1 AND [chinhanh] IS NULL) OR ([chinhanh] = @Original_chinhanh)) AND ([id] = @Original_id));
SELECT ma, loaitien, tungay, denngay, laisuat, diengiai, sophuluc, ngayhieuluc, sotien, diengiaithem, chinhanh, id FROM quanlyhopdongtindungchitiet WHERE (id = @id)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@loaitien" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="loaitien" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@tungay" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="tungay" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@denngay" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="denngay" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@laisuat" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="laisuat" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@diengiai" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="diengiai" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@sophuluc" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sophuluc" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ngayhieuluc" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngayhieuluc" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@sotien" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="sotien" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@diengiaithem" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="diengiaithem" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_loaitien" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="loaitien" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_tungay" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="tungay" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_denngay" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="denngay" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_laisuat" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="laisuat" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_diengiai" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="diengiai" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_diengiai" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="diengiai" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_sophuluc" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sophuluc" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_ngayhieuluc" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngayhieuluc" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_sotien" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="sotien" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_diengiaithem" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="diengiaithem" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_diengiaithem" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="diengiaithem" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chinhanh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="id" ColumnName="id" DataSourceName="erpharma.dbo.quanlyhopdongtindungchitiet" DataTypeServer="decimal" DbType="Decimal" Direction="Input" ParameterName="@id" Precision="18" ProviderType="Decimal" Scale="0" Size="9" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ma" DataSetColumn="ma" />
              <Mapping SourceColumn="loaitien" DataSetColumn="loaitien" />
              <Mapping SourceColumn="tungay" DataSetColumn="tungay" />
              <Mapping SourceColumn="denngay" DataSetColumn="denngay" />
              <Mapping SourceColumn="laisuat" DataSetColumn="laisuat" />
              <Mapping SourceColumn="diengiai" DataSetColumn="diengiai" />
              <Mapping SourceColumn="sophuluc" DataSetColumn="sophuluc" />
              <Mapping SourceColumn="ngayhieuluc" DataSetColumn="ngayhieuluc" />
              <Mapping SourceColumn="sotien" DataSetColumn="sotien" />
              <Mapping SourceColumn="diengiaithem" DataSetColumn="diengiaithem" />
              <Mapping SourceColumn="chinhanh" DataSetColumn="chinhanh" />
              <Mapping SourceColumn="id" DataSetColumn="id" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="theodoichinhsuabaobiTableAdapter" GeneratorDataComponentClassName="theodoichinhsuabaobiTableAdapter" Name="theodoichinhsuabaobi" UserDataComponentName="theodoichinhsuabaobiTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="erpharmaConnectionString (MySettings)" DbObjectName="erpharma.dbo.theodoichinhsuabaobi" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[theodoichinhsuabaobi] WHERE (([ma] = @Original_ma) AND ([ten] = @Original_ten) AND ([donvitinh] = @Original_donvitinh) AND ([ngayhieuluc] = @Original_ngayhieuluc) AND ([ngaycapnhat] = @Original_ngaycapnhat) AND ((@IsNull_diengiai = 1 AND [diengiai] IS NULL) OR ([diengiai] = @Original_diengiai)) AND ([socongvan] = @Original_socongvan) AND ([ngaycongvan] = @Original_ngaycongvan) AND ([tinhtrang] = @Original_tinhtrang) AND ((@IsNull_chinhanh = 1 AND [chinhanh] IS NULL) OR ([chinhanh] = @Original_chinhanh)) AND ([id] = @Original_id))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_donvitinh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="donvitinh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_ngayhieuluc" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngayhieuluc" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_ngaycapnhat" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngaycapnhat" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_diengiai" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="diengiai" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_diengiai" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="diengiai" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_socongvan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="socongvan" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_ngaycongvan" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngaycongvan" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chinhanh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[theodoichinhsuabaobi] ([ma], [ten], [donvitinh], [ngayhieuluc], [ngaycapnhat], [diengiai], [hinhcu], [hinhmoi], [socongvan], [ngaycongvan], [tinhtrang], [chinhanh]) VALUES (@ma, @ten, @donvitinh, @ngayhieuluc, @ngaycapnhat, @diengiai, @hinhcu, @hinhmoi, @socongvan, @ngaycongvan, @tinhtrang, @chinhanh);
SELECT ma, ten, donvitinh, ngayhieuluc, ngaycapnhat, diengiai, hinhcu, hinhmoi, socongvan, ngaycongvan, tinhtrang, chinhanh, id FROM theodoichinhsuabaobi WHERE (id = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@donvitinh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="donvitinh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ngayhieuluc" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngayhieuluc" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ngaycapnhat" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngaycapnhat" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@diengiai" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="diengiai" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Binary" Direction="Input" ParameterName="@hinhcu" Precision="0" ProviderType="Image" Scale="0" Size="0" SourceColumn="hinhcu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Binary" Direction="Input" ParameterName="@hinhmoi" Precision="0" ProviderType="Image" Scale="0" Size="0" SourceColumn="hinhmoi" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@socongvan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="socongvan" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ngaycongvan" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngaycongvan" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT ma, ten, donvitinh, ngayhieuluc, ngaycapnhat, diengiai, hinhcu, hinhmoi, socongvan, ngaycongvan, tinhtrang, chinhanh, id FROM dbo.theodoichinhsuabaobi</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[theodoichinhsuabaobi] SET [ma] = @ma, [ten] = @ten, [donvitinh] = @donvitinh, [ngayhieuluc] = @ngayhieuluc, [ngaycapnhat] = @ngaycapnhat, [diengiai] = @diengiai, [hinhcu] = @hinhcu, [hinhmoi] = @hinhmoi, [socongvan] = @socongvan, [ngaycongvan] = @ngaycongvan, [tinhtrang] = @tinhtrang, [chinhanh] = @chinhanh WHERE (([ma] = @Original_ma) AND ([ten] = @Original_ten) AND ([donvitinh] = @Original_donvitinh) AND ([ngayhieuluc] = @Original_ngayhieuluc) AND ([ngaycapnhat] = @Original_ngaycapnhat) AND ((@IsNull_diengiai = 1 AND [diengiai] IS NULL) OR ([diengiai] = @Original_diengiai)) AND ([socongvan] = @Original_socongvan) AND ([ngaycongvan] = @Original_ngaycongvan) AND ([tinhtrang] = @Original_tinhtrang) AND ((@IsNull_chinhanh = 1 AND [chinhanh] IS NULL) OR ([chinhanh] = @Original_chinhanh)) AND ([id] = @Original_id));
SELECT ma, ten, donvitinh, ngayhieuluc, ngaycapnhat, diengiai, hinhcu, hinhmoi, socongvan, ngaycongvan, tinhtrang, chinhanh, id FROM theodoichinhsuabaobi WHERE (id = @id)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@donvitinh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="donvitinh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ngayhieuluc" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngayhieuluc" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ngaycapnhat" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngaycapnhat" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@diengiai" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="diengiai" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Binary" Direction="Input" ParameterName="@hinhcu" Precision="0" ProviderType="Image" Scale="0" Size="0" SourceColumn="hinhcu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Binary" Direction="Input" ParameterName="@hinhmoi" Precision="0" ProviderType="Image" Scale="0" Size="0" SourceColumn="hinhmoi" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@socongvan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="socongvan" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ngaycongvan" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngaycongvan" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_donvitinh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="donvitinh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_ngayhieuluc" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngayhieuluc" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_ngaycapnhat" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngaycapnhat" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_diengiai" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="diengiai" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_diengiai" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="diengiai" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_socongvan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="socongvan" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_ngaycongvan" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngaycongvan" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chinhanh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="id" ColumnName="id" DataSourceName="erpharma.dbo.theodoichinhsuabaobi" DataTypeServer="decimal" DbType="Decimal" Direction="Input" ParameterName="@id" Precision="18" ProviderType="Decimal" Scale="0" Size="9" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ma" DataSetColumn="ma" />
              <Mapping SourceColumn="ten" DataSetColumn="ten" />
              <Mapping SourceColumn="donvitinh" DataSetColumn="donvitinh" />
              <Mapping SourceColumn="ngayhieuluc" DataSetColumn="ngayhieuluc" />
              <Mapping SourceColumn="ngaycapnhat" DataSetColumn="ngaycapnhat" />
              <Mapping SourceColumn="diengiai" DataSetColumn="diengiai" />
              <Mapping SourceColumn="hinhcu" DataSetColumn="hinhcu" />
              <Mapping SourceColumn="hinhmoi" DataSetColumn="hinhmoi" />
              <Mapping SourceColumn="socongvan" DataSetColumn="socongvan" />
              <Mapping SourceColumn="ngaycongvan" DataSetColumn="ngaycongvan" />
              <Mapping SourceColumn="tinhtrang" DataSetColumn="tinhtrang" />
              <Mapping SourceColumn="chinhanh" DataSetColumn="chinhanh" />
              <Mapping SourceColumn="id" DataSetColumn="id" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="theodoinguyenvatlieunccTableAdapter" GeneratorDataComponentClassName="theodoinguyenvatlieunccTableAdapter" Name="theodoinguyenvatlieuncc" UserDataComponentName="theodoinguyenvatlieunccTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="erpharmaConnectionString (MySettings)" DbObjectName="erpharma.dbo.theodoinguyenvatlieuncc" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[theodoinguyenvatlieuncc] WHERE (([ma] = @Original_ma) AND ([ten] = @Original_ten) AND ([donvitinh] = @Original_donvitinh) AND ([soluong] = @Original_soluong) AND ([tinhtrangnguyenvatlieu] = @Original_tinhtrangnguyenvatlieu) AND ([ngaygui] = @Original_ngaygui) AND ([ngayhethan] = @Original_ngayhethan) AND ((@IsNull_diengiai = 1 AND [diengiai] IS NULL) OR ([diengiai] = @Original_diengiai)) AND ([tinhtrang] = @Original_tinhtrang) AND ((@IsNull_chinhanh = 1 AND [chinhanh] IS NULL) OR ([chinhanh] = @Original_chinhanh)) AND ([id] = @Original_id))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_donvitinh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="donvitinh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_soluong" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="soluong" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tinhtrangnguyenvatlieu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrangnguyenvatlieu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_ngaygui" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngaygui" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_ngayhethan" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngayhethan" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_diengiai" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="diengiai" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_diengiai" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="diengiai" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chinhanh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[theodoinguyenvatlieuncc] ([ma], [ten], [donvitinh], [soluong], [tinhtrangnguyenvatlieu], [ngaygui], [ngayhethan], [diengiai], [tinhtrang], [chinhanh]) VALUES (@ma, @ten, @donvitinh, @soluong, @tinhtrangnguyenvatlieu, @ngaygui, @ngayhethan, @diengiai, @tinhtrang, @chinhanh);
SELECT ma, ten, donvitinh, soluong, tinhtrangnguyenvatlieu, ngaygui, ngayhethan, diengiai, tinhtrang, chinhanh, id FROM theodoinguyenvatlieuncc WHERE (id = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@donvitinh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="donvitinh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@soluong" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="soluong" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tinhtrangnguyenvatlieu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrangnguyenvatlieu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ngaygui" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngaygui" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ngayhethan" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngayhethan" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@diengiai" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="diengiai" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT ma, ten, donvitinh, soluong, tinhtrangnguyenvatlieu, ngaygui, ngayhethan, diengiai, tinhtrang, chinhanh, id FROM dbo.theodoinguyenvatlieuncc</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[theodoinguyenvatlieuncc] SET [ma] = @ma, [ten] = @ten, [donvitinh] = @donvitinh, [soluong] = @soluong, [tinhtrangnguyenvatlieu] = @tinhtrangnguyenvatlieu, [ngaygui] = @ngaygui, [ngayhethan] = @ngayhethan, [diengiai] = @diengiai, [tinhtrang] = @tinhtrang, [chinhanh] = @chinhanh WHERE (([ma] = @Original_ma) AND ([ten] = @Original_ten) AND ([donvitinh] = @Original_donvitinh) AND ([soluong] = @Original_soluong) AND ([tinhtrangnguyenvatlieu] = @Original_tinhtrangnguyenvatlieu) AND ([ngaygui] = @Original_ngaygui) AND ([ngayhethan] = @Original_ngayhethan) AND ((@IsNull_diengiai = 1 AND [diengiai] IS NULL) OR ([diengiai] = @Original_diengiai)) AND ([tinhtrang] = @Original_tinhtrang) AND ((@IsNull_chinhanh = 1 AND [chinhanh] IS NULL) OR ([chinhanh] = @Original_chinhanh)) AND ([id] = @Original_id));
SELECT ma, ten, donvitinh, soluong, tinhtrangnguyenvatlieu, ngaygui, ngayhethan, diengiai, tinhtrang, chinhanh, id FROM theodoinguyenvatlieuncc WHERE (id = @id)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@donvitinh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="donvitinh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@soluong" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="soluong" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tinhtrangnguyenvatlieu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrangnguyenvatlieu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ngaygui" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngaygui" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ngayhethan" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngayhethan" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@diengiai" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="diengiai" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_donvitinh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="donvitinh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_soluong" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="soluong" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tinhtrangnguyenvatlieu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrangnguyenvatlieu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_ngaygui" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngaygui" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_ngayhethan" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngayhethan" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_diengiai" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="diengiai" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_diengiai" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="diengiai" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chinhanh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="id" ColumnName="id" DataSourceName="erpharma.dbo.theodoinguyenvatlieuncc" DataTypeServer="decimal" DbType="Decimal" Direction="Input" ParameterName="@id" Precision="18" ProviderType="Decimal" Scale="0" Size="9" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ma" DataSetColumn="ma" />
              <Mapping SourceColumn="ten" DataSetColumn="ten" />
              <Mapping SourceColumn="donvitinh" DataSetColumn="donvitinh" />
              <Mapping SourceColumn="soluong" DataSetColumn="soluong" />
              <Mapping SourceColumn="tinhtrangnguyenvatlieu" DataSetColumn="tinhtrangnguyenvatlieu" />
              <Mapping SourceColumn="ngaygui" DataSetColumn="ngaygui" />
              <Mapping SourceColumn="ngayhethan" DataSetColumn="ngayhethan" />
              <Mapping SourceColumn="diengiai" DataSetColumn="diengiai" />
              <Mapping SourceColumn="tinhtrang" DataSetColumn="tinhtrang" />
              <Mapping SourceColumn="chinhanh" DataSetColumn="chinhanh" />
              <Mapping SourceColumn="id" DataSetColumn="id" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="dmkhaibaosohoadonTableAdapter" GeneratorDataComponentClassName="dmkhaibaosohoadonTableAdapter" Name="dmkhaibaosohoadon" UserDataComponentName="dmkhaibaosohoadonTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="erpharmaConnectionString (MySettings)" DbObjectName="erpharma.dbo.dmkhaibaosohoadon" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[dmkhaibaosohoadon] WHERE (([kyhieusohoadon] = @Original_kyhieusohoadon) AND ([sohoadon] = @Original_sohoadon) AND ([chieudaisohoadon] = @Original_chieudaisohoadon) AND ([tinhtrang] = @Original_tinhtrang) AND ((@IsNull_chinhanh = 1 AND [chinhanh] IS NULL) OR ([chinhanh] = @Original_chinhanh)) AND ([id] = @Original_id))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_kyhieusohoadon" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="kyhieusohoadon" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_sohoadon" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sohoadon" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_chieudaisohoadon" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="chieudaisohoadon" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chinhanh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[dmkhaibaosohoadon] ([kyhieusohoadon], [sohoadon], [chieudaisohoadon], [tinhtrang], [chinhanh]) VALUES (@kyhieusohoadon, @sohoadon, @chieudaisohoadon, @tinhtrang, @chinhanh);
SELECT kyhieusohoadon, sohoadon, chieudaisohoadon, tinhtrang, chinhanh, id FROM dmkhaibaosohoadon WHERE (id = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@kyhieusohoadon" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="kyhieusohoadon" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@sohoadon" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sohoadon" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@chieudaisohoadon" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="chieudaisohoadon" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT kyhieusohoadon, sohoadon, chieudaisohoadon, tinhtrang, chinhanh, id FROM dbo.dmkhaibaosohoadon</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[dmkhaibaosohoadon] SET [kyhieusohoadon] = @kyhieusohoadon, [sohoadon] = @sohoadon, [chieudaisohoadon] = @chieudaisohoadon, [tinhtrang] = @tinhtrang, [chinhanh] = @chinhanh WHERE (([kyhieusohoadon] = @Original_kyhieusohoadon) AND ([sohoadon] = @Original_sohoadon) AND ([chieudaisohoadon] = @Original_chieudaisohoadon) AND ([tinhtrang] = @Original_tinhtrang) AND ((@IsNull_chinhanh = 1 AND [chinhanh] IS NULL) OR ([chinhanh] = @Original_chinhanh)) AND ([id] = @Original_id));
SELECT kyhieusohoadon, sohoadon, chieudaisohoadon, tinhtrang, chinhanh, id FROM dmkhaibaosohoadon WHERE (id = @id)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@kyhieusohoadon" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="kyhieusohoadon" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@sohoadon" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sohoadon" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@chieudaisohoadon" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="chieudaisohoadon" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_kyhieusohoadon" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="kyhieusohoadon" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_sohoadon" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sohoadon" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_chieudaisohoadon" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="chieudaisohoadon" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chinhanh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="id" ColumnName="id" DataSourceName="erpharma.dbo.dmkhaibaosohoadon" DataTypeServer="decimal" DbType="Decimal" Direction="Input" ParameterName="@id" Precision="18" ProviderType="Decimal" Scale="0" Size="9" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="kyhieusohoadon" DataSetColumn="kyhieusohoadon" />
              <Mapping SourceColumn="sohoadon" DataSetColumn="sohoadon" />
              <Mapping SourceColumn="chieudaisohoadon" DataSetColumn="chieudaisohoadon" />
              <Mapping SourceColumn="tinhtrang" DataSetColumn="tinhtrang" />
              <Mapping SourceColumn="chinhanh" DataSetColumn="chinhanh" />
              <Mapping SourceColumn="id" DataSetColumn="id" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="dmmauinTableAdapter" GeneratorDataComponentClassName="dmmauinTableAdapter" Name="dmmauin" UserDataComponentName="dmmauinTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="erpharmaConnectionString (MySettings)" DbObjectName="erpharma.dbo.dmmauin" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[dmmauin] WHERE (([ma] = @Original_ma) AND ([ten] = @Original_ten) AND ([tenreport] = @Original_tenreport) AND ([ghichu] = @Original_ghichu) AND ([tinhtrang] = @Original_tinhtrang) AND ((@IsNull_chinhanh = 1 AND [chinhanh] IS NULL) OR ([chinhanh] = @Original_chinhanh)) AND ([id] = @Original_id))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tenreport" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tenreport" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ghichu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ghichu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chinhanh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[dmmauin] ([ma], [ten], [tenreport], [ghichu], [tinhtrang], [chinhanh]) VALUES (@ma, @ten, @tenreport, @ghichu, @tinhtrang, @chinhanh);
SELECT ma, ten, tenreport, ghichu, tinhtrang, chinhanh, id FROM dmmauin WHERE (id = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tenreport" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tenreport" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ghichu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ghichu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT ma, ten, tenreport, ghichu, tinhtrang, chinhanh, id FROM dbo.dmmauin</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[dmmauin] SET [ma] = @ma, [ten] = @ten, [tenreport] = @tenreport, [ghichu] = @ghichu, [tinhtrang] = @tinhtrang, [chinhanh] = @chinhanh WHERE (([ma] = @Original_ma) AND ([ten] = @Original_ten) AND ([tenreport] = @Original_tenreport) AND ([ghichu] = @Original_ghichu) AND ([tinhtrang] = @Original_tinhtrang) AND ((@IsNull_chinhanh = 1 AND [chinhanh] IS NULL) OR ([chinhanh] = @Original_chinhanh)) AND ([id] = @Original_id));
SELECT ma, ten, tenreport, ghichu, tinhtrang, chinhanh, id FROM dmmauin WHERE (id = @id)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tenreport" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tenreport" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ghichu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ghichu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tenreport" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tenreport" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ghichu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ghichu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chinhanh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="id" ColumnName="id" DataSourceName="erpharma.dbo.dmmauin" DataTypeServer="decimal" DbType="Decimal" Direction="Input" ParameterName="@id" Precision="18" ProviderType="Decimal" Scale="0" Size="9" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ma" DataSetColumn="ma" />
              <Mapping SourceColumn="ten" DataSetColumn="ten" />
              <Mapping SourceColumn="tenreport" DataSetColumn="tenreport" />
              <Mapping SourceColumn="ghichu" DataSetColumn="ghichu" />
              <Mapping SourceColumn="tinhtrang" DataSetColumn="tinhtrang" />
              <Mapping SourceColumn="chinhanh" DataSetColumn="chinhanh" />
              <Mapping SourceColumn="id" DataSetColumn="id" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="dmphuongxaTableAdapter" GeneratorDataComponentClassName="dmphuongxaTableAdapter" Name="dmphuongxa" UserDataComponentName="dmphuongxaTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="erpharmaConnectionString (MySettings)" DbObjectName="erpharma.dbo.dmphuongxa" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[dmphuongxa] WHERE (([ma] = @Original_ma) AND ([ten] = @Original_ten) AND ([maquocgia] = @Original_maquocgia) AND ([matinhthanh] = @Original_matinhthanh) AND ([maquanhuyen] = @Original_maquanhuyen) AND ([ghichu] = @Original_ghichu) AND ([tinhtrang] = @Original_tinhtrang) AND ((@IsNull_chinhanh = 1 AND [chinhanh] IS NULL) OR ([chinhanh] = @Original_chinhanh)) AND ([id] = @Original_id))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_maquocgia" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="maquocgia" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_matinhthanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="matinhthanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_maquanhuyen" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="maquanhuyen" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ghichu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ghichu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chinhanh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[dmphuongxa] ([ma], [ten], [maquocgia], [matinhthanh], [maquanhuyen], [ghichu], [tinhtrang], [chinhanh]) VALUES (@ma, @ten, @maquocgia, @matinhthanh, @maquanhuyen, @ghichu, @tinhtrang, @chinhanh);
SELECT ma, ten, maquocgia, matinhthanh, maquanhuyen, ghichu, tinhtrang, chinhanh, id FROM dmphuongxa WHERE (id = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@maquocgia" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="maquocgia" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@matinhthanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="matinhthanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@maquanhuyen" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="maquanhuyen" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ghichu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ghichu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT ma, ten, maquocgia, matinhthanh, maquanhuyen, ghichu, tinhtrang, chinhanh, id FROM dbo.dmphuongxa</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[dmphuongxa] SET [ma] = @ma, [ten] = @ten, [maquocgia] = @maquocgia, [matinhthanh] = @matinhthanh, [maquanhuyen] = @maquanhuyen, [ghichu] = @ghichu, [tinhtrang] = @tinhtrang, [chinhanh] = @chinhanh WHERE (([ma] = @Original_ma) AND ([ten] = @Original_ten) AND ([maquocgia] = @Original_maquocgia) AND ([matinhthanh] = @Original_matinhthanh) AND ([maquanhuyen] = @Original_maquanhuyen) AND ([ghichu] = @Original_ghichu) AND ([tinhtrang] = @Original_tinhtrang) AND ((@IsNull_chinhanh = 1 AND [chinhanh] IS NULL) OR ([chinhanh] = @Original_chinhanh)) AND ([id] = @Original_id));
SELECT ma, ten, maquocgia, matinhthanh, maquanhuyen, ghichu, tinhtrang, chinhanh, id FROM dmphuongxa WHERE (id = @id)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@maquocgia" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="maquocgia" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@matinhthanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="matinhthanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@maquanhuyen" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="maquanhuyen" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ghichu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ghichu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_maquocgia" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="maquocgia" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_matinhthanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="matinhthanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_maquanhuyen" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="maquanhuyen" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ghichu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ghichu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chinhanh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="id" ColumnName="id" DataSourceName="erpharma.dbo.dmphuongxa" DataTypeServer="decimal" DbType="Decimal" Direction="Input" ParameterName="@id" Precision="18" ProviderType="Decimal" Scale="0" Size="9" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ma" DataSetColumn="ma" />
              <Mapping SourceColumn="ten" DataSetColumn="ten" />
              <Mapping SourceColumn="maquocgia" DataSetColumn="maquocgia" />
              <Mapping SourceColumn="matinhthanh" DataSetColumn="matinhthanh" />
              <Mapping SourceColumn="maquanhuyen" DataSetColumn="maquanhuyen" />
              <Mapping SourceColumn="ghichu" DataSetColumn="ghichu" />
              <Mapping SourceColumn="tinhtrang" DataSetColumn="tinhtrang" />
              <Mapping SourceColumn="chinhanh" DataSetColumn="chinhanh" />
              <Mapping SourceColumn="id" DataSetColumn="id" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="dmquanhuyenTableAdapter" GeneratorDataComponentClassName="dmquanhuyenTableAdapter" Name="dmquanhuyen" UserDataComponentName="dmquanhuyenTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="erpharmaConnectionString (MySettings)" DbObjectName="erpharma.dbo.dmquanhuyen" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[dmquanhuyen] WHERE (([ma] = @Original_ma) AND ([ten] = @Original_ten) AND ([maquocgia] = @Original_maquocgia) AND ([matinhthanh] = @Original_matinhthanh) AND ([ghichu] = @Original_ghichu) AND ([tinhtrang] = @Original_tinhtrang) AND ((@IsNull_chinhanh = 1 AND [chinhanh] IS NULL) OR ([chinhanh] = @Original_chinhanh)) AND ([id] = @Original_id))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_maquocgia" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="maquocgia" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_matinhthanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="matinhthanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ghichu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ghichu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chinhanh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[dmquanhuyen] ([ma], [ten], [maquocgia], [matinhthanh], [ghichu], [tinhtrang], [chinhanh]) VALUES (@ma, @ten, @maquocgia, @matinhthanh, @ghichu, @tinhtrang, @chinhanh);
SELECT ma, ten, maquocgia, matinhthanh, ghichu, tinhtrang, chinhanh, id FROM dmquanhuyen WHERE (id = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@maquocgia" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="maquocgia" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@matinhthanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="matinhthanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ghichu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ghichu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT ma, ten, maquocgia, matinhthanh, ghichu, tinhtrang, chinhanh, id FROM dbo.dmquanhuyen</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[dmquanhuyen] SET [ma] = @ma, [ten] = @ten, [maquocgia] = @maquocgia, [matinhthanh] = @matinhthanh, [ghichu] = @ghichu, [tinhtrang] = @tinhtrang, [chinhanh] = @chinhanh WHERE (([ma] = @Original_ma) AND ([ten] = @Original_ten) AND ([maquocgia] = @Original_maquocgia) AND ([matinhthanh] = @Original_matinhthanh) AND ([ghichu] = @Original_ghichu) AND ([tinhtrang] = @Original_tinhtrang) AND ((@IsNull_chinhanh = 1 AND [chinhanh] IS NULL) OR ([chinhanh] = @Original_chinhanh)) AND ([id] = @Original_id));
SELECT ma, ten, maquocgia, matinhthanh, ghichu, tinhtrang, chinhanh, id FROM dmquanhuyen WHERE (id = @id)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@maquocgia" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="maquocgia" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@matinhthanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="matinhthanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ghichu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ghichu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_maquocgia" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="maquocgia" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_matinhthanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="matinhthanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ghichu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ghichu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chinhanh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="id" ColumnName="id" DataSourceName="erpharma.dbo.dmquanhuyen" DataTypeServer="decimal" DbType="Decimal" Direction="Input" ParameterName="@id" Precision="18" ProviderType="Decimal" Scale="0" Size="9" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ma" DataSetColumn="ma" />
              <Mapping SourceColumn="ten" DataSetColumn="ten" />
              <Mapping SourceColumn="maquocgia" DataSetColumn="maquocgia" />
              <Mapping SourceColumn="matinhthanh" DataSetColumn="matinhthanh" />
              <Mapping SourceColumn="ghichu" DataSetColumn="ghichu" />
              <Mapping SourceColumn="tinhtrang" DataSetColumn="tinhtrang" />
              <Mapping SourceColumn="chinhanh" DataSetColumn="chinhanh" />
              <Mapping SourceColumn="id" DataSetColumn="id" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="dmtygiaTableAdapter" GeneratorDataComponentClassName="dmtygiaTableAdapter" Name="dmtygia" UserDataComponentName="dmtygiaTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="erpharmaConnectionString (MySettings)" DbObjectName="erpharma.dbo.dmtygia" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[dmtygia] WHERE (([ngaytygia] = @Original_ngaytygia) AND ([loaitien] = @Original_loaitien) AND ([tygia] = @Original_tygia) AND ((@IsNull_ghichu = 1 AND [ghichu] IS NULL) OR ([ghichu] = @Original_ghichu)) AND ([tinhtrang] = @Original_tinhtrang) AND ((@IsNull_chinhanh = 1 AND [chinhanh] IS NULL) OR ([chinhanh] = @Original_chinhanh)) AND ([id] = @Original_id))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_ngaytygia" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngaytygia" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_loaitien" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="loaitien" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_tygia" Precision="18" ProviderType="Decimal" Scale="4" Size="0" SourceColumn="tygia" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ghichu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ghichu" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ghichu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ghichu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chinhanh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[dmtygia] ([ngaytygia], [loaitien], [tygia], [ghichu], [tinhtrang], [chinhanh]) VALUES (@ngaytygia, @loaitien, @tygia, @ghichu, @tinhtrang, @chinhanh);
SELECT ngaytygia, loaitien, tygia, ghichu, tinhtrang, chinhanh, id FROM dmtygia WHERE (id = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ngaytygia" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngaytygia" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@loaitien" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="loaitien" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@tygia" Precision="18" ProviderType="Decimal" Scale="4" Size="0" SourceColumn="tygia" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ghichu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ghichu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT ngaytygia, loaitien, tygia, ghichu, tinhtrang, chinhanh, id FROM dbo.dmtygia</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[dmtygia] SET [ngaytygia] = @ngaytygia, [loaitien] = @loaitien, [tygia] = @tygia, [ghichu] = @ghichu, [tinhtrang] = @tinhtrang, [chinhanh] = @chinhanh WHERE (([ngaytygia] = @Original_ngaytygia) AND ([loaitien] = @Original_loaitien) AND ([tygia] = @Original_tygia) AND ((@IsNull_ghichu = 1 AND [ghichu] IS NULL) OR ([ghichu] = @Original_ghichu)) AND ([tinhtrang] = @Original_tinhtrang) AND ((@IsNull_chinhanh = 1 AND [chinhanh] IS NULL) OR ([chinhanh] = @Original_chinhanh)) AND ([id] = @Original_id));
SELECT ngaytygia, loaitien, tygia, ghichu, tinhtrang, chinhanh, id FROM dmtygia WHERE (id = @id)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ngaytygia" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngaytygia" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@loaitien" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="loaitien" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@tygia" Precision="18" ProviderType="Decimal" Scale="4" Size="0" SourceColumn="tygia" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ghichu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ghichu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_ngaytygia" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngaytygia" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_loaitien" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="loaitien" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_tygia" Precision="18" ProviderType="Decimal" Scale="4" Size="0" SourceColumn="tygia" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ghichu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ghichu" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ghichu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ghichu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chinhanh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="id" ColumnName="id" DataSourceName="erpharma.dbo.dmtygia" DataTypeServer="decimal" DbType="Decimal" Direction="Input" ParameterName="@id" Precision="18" ProviderType="Decimal" Scale="0" Size="9" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ngaytygia" DataSetColumn="ngaytygia" />
              <Mapping SourceColumn="loaitien" DataSetColumn="loaitien" />
              <Mapping SourceColumn="tygia" DataSetColumn="tygia" />
              <Mapping SourceColumn="ghichu" DataSetColumn="ghichu" />
              <Mapping SourceColumn="tinhtrang" DataSetColumn="tinhtrang" />
              <Mapping SourceColumn="chinhanh" DataSetColumn="chinhanh" />
              <Mapping SourceColumn="id" DataSetColumn="id" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="nhapsodudaukytknganhangTableAdapter" GeneratorDataComponentClassName="nhapsodudaukytknganhangTableAdapter" Name="nhapsodudaukytknganhang" UserDataComponentName="nhapsodudaukytknganhangTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="erpharmaConnectionString (MySettings)" DbObjectName="erpharma.dbo.nhapsodudaukytknganhang" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[nhapsodudaukytknganhang] WHERE (([sotaikhoannganhang] = @Original_sotaikhoannganhang) AND ([nganhang] = @Original_nganhang) AND ([loaitien] = @Original_loaitien) AND ([nodaukynguyente] = @Original_nodaukynguyente) AND ([nodaukyvnd] = @Original_nodaukyvnd) AND ([codaukynguyente] = @Original_codaukynguyente) AND ([codaukyvnd] = @Original_codaukyvnd) AND ([tinhtrang] = @Original_tinhtrang) AND ((@IsNull_chinhanh = 1 AND [chinhanh] IS NULL) OR ([chinhanh] = @Original_chinhanh)) AND ([id] = @Original_id))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_sotaikhoannganhang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sotaikhoannganhang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_nganhang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="nganhang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_loaitien" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="loaitien" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_nodaukynguyente" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="nodaukynguyente" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_nodaukyvnd" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="nodaukyvnd" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_codaukynguyente" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="codaukynguyente" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_codaukyvnd" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="codaukyvnd" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chinhanh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[nhapsodudaukytknganhang] ([sotaikhoannganhang], [nganhang], [loaitien], [nodaukynguyente], [nodaukyvnd], [codaukynguyente], [codaukyvnd], [tinhtrang], [chinhanh]) VALUES (@sotaikhoannganhang, @nganhang, @loaitien, @nodaukynguyente, @nodaukyvnd, @codaukynguyente, @codaukyvnd, @tinhtrang, @chinhanh);
SELECT sotaikhoannganhang, nganhang, loaitien, nodaukynguyente, nodaukyvnd, codaukynguyente, codaukyvnd, tinhtrang, chinhanh, id FROM nhapsodudaukytknganhang WHERE (id = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@sotaikhoannganhang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sotaikhoannganhang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@nganhang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="nganhang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@loaitien" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="loaitien" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@nodaukynguyente" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="nodaukynguyente" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@nodaukyvnd" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="nodaukyvnd" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@codaukynguyente" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="codaukynguyente" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@codaukyvnd" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="codaukyvnd" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT sotaikhoannganhang, nganhang, loaitien, nodaukynguyente, nodaukyvnd, codaukynguyente, codaukyvnd, tinhtrang, chinhanh, id FROM dbo.nhapsodudaukytknganhang</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[nhapsodudaukytknganhang] SET [sotaikhoannganhang] = @sotaikhoannganhang, [nganhang] = @nganhang, [loaitien] = @loaitien, [nodaukynguyente] = @nodaukynguyente, [nodaukyvnd] = @nodaukyvnd, [codaukynguyente] = @codaukynguyente, [codaukyvnd] = @codaukyvnd, [tinhtrang] = @tinhtrang, [chinhanh] = @chinhanh WHERE (([sotaikhoannganhang] = @Original_sotaikhoannganhang) AND ([nganhang] = @Original_nganhang) AND ([loaitien] = @Original_loaitien) AND ([nodaukynguyente] = @Original_nodaukynguyente) AND ([nodaukyvnd] = @Original_nodaukyvnd) AND ([codaukynguyente] = @Original_codaukynguyente) AND ([codaukyvnd] = @Original_codaukyvnd) AND ([tinhtrang] = @Original_tinhtrang) AND ((@IsNull_chinhanh = 1 AND [chinhanh] IS NULL) OR ([chinhanh] = @Original_chinhanh)) AND ([id] = @Original_id));
SELECT sotaikhoannganhang, nganhang, loaitien, nodaukynguyente, nodaukyvnd, codaukynguyente, codaukyvnd, tinhtrang, chinhanh, id FROM nhapsodudaukytknganhang WHERE (id = @id)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@sotaikhoannganhang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sotaikhoannganhang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@nganhang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="nganhang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@loaitien" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="loaitien" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@nodaukynguyente" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="nodaukynguyente" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@nodaukyvnd" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="nodaukyvnd" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@codaukynguyente" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="codaukynguyente" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@codaukyvnd" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="codaukyvnd" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_sotaikhoannganhang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sotaikhoannganhang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_nganhang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="nganhang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_loaitien" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="loaitien" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_nodaukynguyente" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="nodaukynguyente" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_nodaukyvnd" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="nodaukyvnd" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_codaukynguyente" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="codaukynguyente" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_codaukyvnd" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="codaukyvnd" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chinhanh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="id" ColumnName="id" DataSourceName="erpharma.dbo.nhapsodudaukytknganhang" DataTypeServer="decimal" DbType="Decimal" Direction="Input" ParameterName="@id" Precision="18" ProviderType="Decimal" Scale="0" Size="9" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="sotaikhoannganhang" DataSetColumn="sotaikhoannganhang" />
              <Mapping SourceColumn="nganhang" DataSetColumn="nganhang" />
              <Mapping SourceColumn="loaitien" DataSetColumn="loaitien" />
              <Mapping SourceColumn="nodaukynguyente" DataSetColumn="nodaukynguyente" />
              <Mapping SourceColumn="nodaukyvnd" DataSetColumn="nodaukyvnd" />
              <Mapping SourceColumn="codaukynguyente" DataSetColumn="codaukynguyente" />
              <Mapping SourceColumn="codaukyvnd" DataSetColumn="codaukyvnd" />
              <Mapping SourceColumn="tinhtrang" DataSetColumn="tinhtrang" />
              <Mapping SourceColumn="chinhanh" DataSetColumn="chinhanh" />
              <Mapping SourceColumn="id" DataSetColumn="id" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="dmkhaibaosohoadon1TableAdapter" GeneratorDataComponentClassName="dmkhaibaosohoadon1TableAdapter" Name="dmkhaibaosohoadon1" UserDataComponentName="dmkhaibaosohoadon1TableAdapter">
            <MainSource>
              <DbSource ConnectionRef="erpharmaConnectionString (MySettings)" DbObjectName="erpharma.dbo.dmkhaibaosohoadon" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[dmkhaibaosohoadon] WHERE (([kyhieusohoadon] = @Original_kyhieusohoadon) AND ([sohoadon] = @Original_sohoadon) AND ([chieudaisohoadon] = @Original_chieudaisohoadon) AND ([tinhtrang] = @Original_tinhtrang) AND ((@IsNull_chinhanh = 1 AND [chinhanh] IS NULL) OR ([chinhanh] = @Original_chinhanh)) AND ([id] = @Original_id))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_kyhieusohoadon" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="kyhieusohoadon" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_sohoadon" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sohoadon" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_chieudaisohoadon" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="chieudaisohoadon" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chinhanh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[dmkhaibaosohoadon] ([kyhieusohoadon], [sohoadon], [chieudaisohoadon], [tinhtrang], [chinhanh]) VALUES (@kyhieusohoadon, @sohoadon, @chieudaisohoadon, @tinhtrang, @chinhanh);
SELECT kyhieusohoadon, sohoadon, chieudaisohoadon, tinhtrang, chinhanh, id FROM dmkhaibaosohoadon WHERE (id = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@kyhieusohoadon" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="kyhieusohoadon" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@sohoadon" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sohoadon" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@chieudaisohoadon" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="chieudaisohoadon" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT kyhieusohoadon, sohoadon, chieudaisohoadon, tinhtrang, chinhanh, id FROM dbo.dmkhaibaosohoadon</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[dmkhaibaosohoadon] SET [kyhieusohoadon] = @kyhieusohoadon, [sohoadon] = @sohoadon, [chieudaisohoadon] = @chieudaisohoadon, [tinhtrang] = @tinhtrang, [chinhanh] = @chinhanh WHERE (([kyhieusohoadon] = @Original_kyhieusohoadon) AND ([sohoadon] = @Original_sohoadon) AND ([chieudaisohoadon] = @Original_chieudaisohoadon) AND ([tinhtrang] = @Original_tinhtrang) AND ((@IsNull_chinhanh = 1 AND [chinhanh] IS NULL) OR ([chinhanh] = @Original_chinhanh)) AND ([id] = @Original_id));
SELECT kyhieusohoadon, sohoadon, chieudaisohoadon, tinhtrang, chinhanh, id FROM dmkhaibaosohoadon WHERE (id = @id)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@kyhieusohoadon" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="kyhieusohoadon" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@sohoadon" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sohoadon" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@chieudaisohoadon" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="chieudaisohoadon" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_kyhieusohoadon" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="kyhieusohoadon" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_sohoadon" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sohoadon" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_chieudaisohoadon" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="chieudaisohoadon" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chinhanh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="id" ColumnName="id" DataSourceName="erpharma.dbo.dmkhaibaosohoadon" DataTypeServer="decimal" DbType="Decimal" Direction="Input" ParameterName="@id" Precision="18" ProviderType="Decimal" Scale="0" Size="9" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="kyhieusohoadon" DataSetColumn="kyhieusohoadon" />
              <Mapping SourceColumn="sohoadon" DataSetColumn="sohoadon" />
              <Mapping SourceColumn="chieudaisohoadon" DataSetColumn="chieudaisohoadon" />
              <Mapping SourceColumn="tinhtrang" DataSetColumn="tinhtrang" />
              <Mapping SourceColumn="chinhanh" DataSetColumn="chinhanh" />
              <Mapping SourceColumn="id" DataSetColumn="id" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="dmmauin1TableAdapter" GeneratorDataComponentClassName="dmmauin1TableAdapter" Name="dmmauin1" UserDataComponentName="dmmauin1TableAdapter">
            <MainSource>
              <DbSource ConnectionRef="erpharmaConnectionString (MySettings)" DbObjectName="erpharma.dbo.dmmauin" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[dmmauin] WHERE (([ma] = @Original_ma) AND ([ten] = @Original_ten) AND ([tenreport] = @Original_tenreport) AND ([ghichu] = @Original_ghichu) AND ([tinhtrang] = @Original_tinhtrang) AND ((@IsNull_chinhanh = 1 AND [chinhanh] IS NULL) OR ([chinhanh] = @Original_chinhanh)) AND ([id] = @Original_id))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tenreport" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tenreport" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ghichu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ghichu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chinhanh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[dmmauin] ([ma], [ten], [tenreport], [ghichu], [tinhtrang], [chinhanh]) VALUES (@ma, @ten, @tenreport, @ghichu, @tinhtrang, @chinhanh);
SELECT ma, ten, tenreport, ghichu, tinhtrang, chinhanh, id FROM dmmauin WHERE (id = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tenreport" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tenreport" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ghichu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ghichu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT ma, ten, tenreport, ghichu, tinhtrang, chinhanh, id FROM dbo.dmmauin</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[dmmauin] SET [ma] = @ma, [ten] = @ten, [tenreport] = @tenreport, [ghichu] = @ghichu, [tinhtrang] = @tinhtrang, [chinhanh] = @chinhanh WHERE (([ma] = @Original_ma) AND ([ten] = @Original_ten) AND ([tenreport] = @Original_tenreport) AND ([ghichu] = @Original_ghichu) AND ([tinhtrang] = @Original_tinhtrang) AND ((@IsNull_chinhanh = 1 AND [chinhanh] IS NULL) OR ([chinhanh] = @Original_chinhanh)) AND ([id] = @Original_id));
SELECT ma, ten, tenreport, ghichu, tinhtrang, chinhanh, id FROM dmmauin WHERE (id = @id)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tenreport" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tenreport" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ghichu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ghichu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tenreport" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tenreport" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ghichu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ghichu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chinhanh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="id" ColumnName="id" DataSourceName="erpharma.dbo.dmmauin" DataTypeServer="decimal" DbType="Decimal" Direction="Input" ParameterName="@id" Precision="18" ProviderType="Decimal" Scale="0" Size="9" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ma" DataSetColumn="ma" />
              <Mapping SourceColumn="ten" DataSetColumn="ten" />
              <Mapping SourceColumn="tenreport" DataSetColumn="tenreport" />
              <Mapping SourceColumn="ghichu" DataSetColumn="ghichu" />
              <Mapping SourceColumn="tinhtrang" DataSetColumn="tinhtrang" />
              <Mapping SourceColumn="chinhanh" DataSetColumn="chinhanh" />
              <Mapping SourceColumn="id" DataSetColumn="id" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="dmphuongxa1TableAdapter" GeneratorDataComponentClassName="dmphuongxa1TableAdapter" Name="dmphuongxa1" UserDataComponentName="dmphuongxa1TableAdapter">
            <MainSource>
              <DbSource ConnectionRef="erpharmaConnectionString (MySettings)" DbObjectName="erpharma.dbo.dmphuongxa" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[dmphuongxa] WHERE (([ma] = @Original_ma) AND ([ten] = @Original_ten) AND ([maquocgia] = @Original_maquocgia) AND ([matinhthanh] = @Original_matinhthanh) AND ([maquanhuyen] = @Original_maquanhuyen) AND ([ghichu] = @Original_ghichu) AND ([tinhtrang] = @Original_tinhtrang) AND ((@IsNull_chinhanh = 1 AND [chinhanh] IS NULL) OR ([chinhanh] = @Original_chinhanh)) AND ([id] = @Original_id))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_maquocgia" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="maquocgia" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_matinhthanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="matinhthanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_maquanhuyen" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="maquanhuyen" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ghichu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ghichu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chinhanh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[dmphuongxa] ([ma], [ten], [maquocgia], [matinhthanh], [maquanhuyen], [ghichu], [tinhtrang], [chinhanh]) VALUES (@ma, @ten, @maquocgia, @matinhthanh, @maquanhuyen, @ghichu, @tinhtrang, @chinhanh);
SELECT ma, ten, maquocgia, matinhthanh, maquanhuyen, ghichu, tinhtrang, chinhanh, id FROM dmphuongxa WHERE (id = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@maquocgia" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="maquocgia" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@matinhthanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="matinhthanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@maquanhuyen" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="maquanhuyen" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ghichu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ghichu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT ma, ten, maquocgia, matinhthanh, maquanhuyen, ghichu, tinhtrang, chinhanh, id FROM dbo.dmphuongxa</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[dmphuongxa] SET [ma] = @ma, [ten] = @ten, [maquocgia] = @maquocgia, [matinhthanh] = @matinhthanh, [maquanhuyen] = @maquanhuyen, [ghichu] = @ghichu, [tinhtrang] = @tinhtrang, [chinhanh] = @chinhanh WHERE (([ma] = @Original_ma) AND ([ten] = @Original_ten) AND ([maquocgia] = @Original_maquocgia) AND ([matinhthanh] = @Original_matinhthanh) AND ([maquanhuyen] = @Original_maquanhuyen) AND ([ghichu] = @Original_ghichu) AND ([tinhtrang] = @Original_tinhtrang) AND ((@IsNull_chinhanh = 1 AND [chinhanh] IS NULL) OR ([chinhanh] = @Original_chinhanh)) AND ([id] = @Original_id));
SELECT ma, ten, maquocgia, matinhthanh, maquanhuyen, ghichu, tinhtrang, chinhanh, id FROM dmphuongxa WHERE (id = @id)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@maquocgia" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="maquocgia" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@matinhthanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="matinhthanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@maquanhuyen" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="maquanhuyen" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ghichu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ghichu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_maquocgia" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="maquocgia" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_matinhthanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="matinhthanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_maquanhuyen" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="maquanhuyen" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ghichu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ghichu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chinhanh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="id" ColumnName="id" DataSourceName="erpharma.dbo.dmphuongxa" DataTypeServer="decimal" DbType="Decimal" Direction="Input" ParameterName="@id" Precision="18" ProviderType="Decimal" Scale="0" Size="9" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ma" DataSetColumn="ma" />
              <Mapping SourceColumn="ten" DataSetColumn="ten" />
              <Mapping SourceColumn="maquocgia" DataSetColumn="maquocgia" />
              <Mapping SourceColumn="matinhthanh" DataSetColumn="matinhthanh" />
              <Mapping SourceColumn="maquanhuyen" DataSetColumn="maquanhuyen" />
              <Mapping SourceColumn="ghichu" DataSetColumn="ghichu" />
              <Mapping SourceColumn="tinhtrang" DataSetColumn="tinhtrang" />
              <Mapping SourceColumn="chinhanh" DataSetColumn="chinhanh" />
              <Mapping SourceColumn="id" DataSetColumn="id" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="dmquanhuyen1TableAdapter" GeneratorDataComponentClassName="dmquanhuyen1TableAdapter" Name="dmquanhuyen1" UserDataComponentName="dmquanhuyen1TableAdapter">
            <MainSource>
              <DbSource ConnectionRef="erpharmaConnectionString (MySettings)" DbObjectName="erpharma.dbo.dmquanhuyen" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[dmquanhuyen] WHERE (([ma] = @Original_ma) AND ([ten] = @Original_ten) AND ([maquocgia] = @Original_maquocgia) AND ([matinhthanh] = @Original_matinhthanh) AND ([ghichu] = @Original_ghichu) AND ([tinhtrang] = @Original_tinhtrang) AND ((@IsNull_chinhanh = 1 AND [chinhanh] IS NULL) OR ([chinhanh] = @Original_chinhanh)) AND ([id] = @Original_id))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_maquocgia" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="maquocgia" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_matinhthanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="matinhthanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ghichu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ghichu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chinhanh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[dmquanhuyen] ([ma], [ten], [maquocgia], [matinhthanh], [ghichu], [tinhtrang], [chinhanh]) VALUES (@ma, @ten, @maquocgia, @matinhthanh, @ghichu, @tinhtrang, @chinhanh);
SELECT ma, ten, maquocgia, matinhthanh, ghichu, tinhtrang, chinhanh, id FROM dmquanhuyen WHERE (id = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@maquocgia" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="maquocgia" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@matinhthanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="matinhthanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ghichu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ghichu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT ma, ten, maquocgia, matinhthanh, ghichu, tinhtrang, chinhanh, id FROM dbo.dmquanhuyen</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[dmquanhuyen] SET [ma] = @ma, [ten] = @ten, [maquocgia] = @maquocgia, [matinhthanh] = @matinhthanh, [ghichu] = @ghichu, [tinhtrang] = @tinhtrang, [chinhanh] = @chinhanh WHERE (([ma] = @Original_ma) AND ([ten] = @Original_ten) AND ([maquocgia] = @Original_maquocgia) AND ([matinhthanh] = @Original_matinhthanh) AND ([ghichu] = @Original_ghichu) AND ([tinhtrang] = @Original_tinhtrang) AND ((@IsNull_chinhanh = 1 AND [chinhanh] IS NULL) OR ([chinhanh] = @Original_chinhanh)) AND ([id] = @Original_id));
SELECT ma, ten, maquocgia, matinhthanh, ghichu, tinhtrang, chinhanh, id FROM dmquanhuyen WHERE (id = @id)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@maquocgia" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="maquocgia" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@matinhthanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="matinhthanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ghichu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ghichu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_maquocgia" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="maquocgia" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_matinhthanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="matinhthanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ghichu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ghichu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chinhanh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="id" ColumnName="id" DataSourceName="erpharma.dbo.dmquanhuyen" DataTypeServer="decimal" DbType="Decimal" Direction="Input" ParameterName="@id" Precision="18" ProviderType="Decimal" Scale="0" Size="9" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ma" DataSetColumn="ma" />
              <Mapping SourceColumn="ten" DataSetColumn="ten" />
              <Mapping SourceColumn="maquocgia" DataSetColumn="maquocgia" />
              <Mapping SourceColumn="matinhthanh" DataSetColumn="matinhthanh" />
              <Mapping SourceColumn="ghichu" DataSetColumn="ghichu" />
              <Mapping SourceColumn="tinhtrang" DataSetColumn="tinhtrang" />
              <Mapping SourceColumn="chinhanh" DataSetColumn="chinhanh" />
              <Mapping SourceColumn="id" DataSetColumn="id" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="dmtygia1TableAdapter" GeneratorDataComponentClassName="dmtygia1TableAdapter" Name="dmtygia1" UserDataComponentName="dmtygia1TableAdapter">
            <MainSource>
              <DbSource ConnectionRef="erpharmaConnectionString (MySettings)" DbObjectName="erpharma.dbo.dmtygia" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[dmtygia] WHERE (([ngaytygia] = @Original_ngaytygia) AND ([loaitien] = @Original_loaitien) AND ([tygia] = @Original_tygia) AND ((@IsNull_ghichu = 1 AND [ghichu] IS NULL) OR ([ghichu] = @Original_ghichu)) AND ([tinhtrang] = @Original_tinhtrang) AND ((@IsNull_chinhanh = 1 AND [chinhanh] IS NULL) OR ([chinhanh] = @Original_chinhanh)) AND ([id] = @Original_id))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_ngaytygia" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngaytygia" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_loaitien" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="loaitien" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_tygia" Precision="18" ProviderType="Decimal" Scale="4" Size="0" SourceColumn="tygia" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ghichu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ghichu" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ghichu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ghichu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chinhanh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[dmtygia] ([ngaytygia], [loaitien], [tygia], [ghichu], [tinhtrang], [chinhanh]) VALUES (@ngaytygia, @loaitien, @tygia, @ghichu, @tinhtrang, @chinhanh);
SELECT ngaytygia, loaitien, tygia, ghichu, tinhtrang, chinhanh, id FROM dmtygia WHERE (id = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ngaytygia" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngaytygia" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@loaitien" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="loaitien" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@tygia" Precision="18" ProviderType="Decimal" Scale="4" Size="0" SourceColumn="tygia" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ghichu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ghichu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT ngaytygia, loaitien, tygia, ghichu, tinhtrang, chinhanh, id FROM dbo.dmtygia</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[dmtygia] SET [ngaytygia] = @ngaytygia, [loaitien] = @loaitien, [tygia] = @tygia, [ghichu] = @ghichu, [tinhtrang] = @tinhtrang, [chinhanh] = @chinhanh WHERE (([ngaytygia] = @Original_ngaytygia) AND ([loaitien] = @Original_loaitien) AND ([tygia] = @Original_tygia) AND ((@IsNull_ghichu = 1 AND [ghichu] IS NULL) OR ([ghichu] = @Original_ghichu)) AND ([tinhtrang] = @Original_tinhtrang) AND ((@IsNull_chinhanh = 1 AND [chinhanh] IS NULL) OR ([chinhanh] = @Original_chinhanh)) AND ([id] = @Original_id));
SELECT ngaytygia, loaitien, tygia, ghichu, tinhtrang, chinhanh, id FROM dmtygia WHERE (id = @id)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ngaytygia" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngaytygia" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@loaitien" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="loaitien" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@tygia" Precision="18" ProviderType="Decimal" Scale="4" Size="0" SourceColumn="tygia" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ghichu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ghichu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_ngaytygia" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngaytygia" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_loaitien" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="loaitien" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_tygia" Precision="18" ProviderType="Decimal" Scale="4" Size="0" SourceColumn="tygia" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ghichu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ghichu" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ghichu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ghichu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chinhanh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="id" ColumnName="id" DataSourceName="erpharma.dbo.dmtygia" DataTypeServer="decimal" DbType="Decimal" Direction="Input" ParameterName="@id" Precision="18" ProviderType="Decimal" Scale="0" Size="9" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ngaytygia" DataSetColumn="ngaytygia" />
              <Mapping SourceColumn="loaitien" DataSetColumn="loaitien" />
              <Mapping SourceColumn="tygia" DataSetColumn="tygia" />
              <Mapping SourceColumn="ghichu" DataSetColumn="ghichu" />
              <Mapping SourceColumn="tinhtrang" DataSetColumn="tinhtrang" />
              <Mapping SourceColumn="chinhanh" DataSetColumn="chinhanh" />
              <Mapping SourceColumn="id" DataSetColumn="id" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="nhapsodudaukytknganhang1TableAdapter" GeneratorDataComponentClassName="nhapsodudaukytknganhang1TableAdapter" Name="nhapsodudaukytknganhang1" UserDataComponentName="nhapsodudaukytknganhang1TableAdapter">
            <MainSource>
              <DbSource ConnectionRef="erpharmaConnectionString (MySettings)" DbObjectName="erpharma.dbo.nhapsodudaukytknganhang" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[nhapsodudaukytknganhang] WHERE (([sotaikhoannganhang] = @Original_sotaikhoannganhang) AND ([nganhang] = @Original_nganhang) AND ([loaitien] = @Original_loaitien) AND ([nodaukynguyente] = @Original_nodaukynguyente) AND ([nodaukyvnd] = @Original_nodaukyvnd) AND ([codaukynguyente] = @Original_codaukynguyente) AND ([codaukyvnd] = @Original_codaukyvnd) AND ([tinhtrang] = @Original_tinhtrang) AND ((@IsNull_chinhanh = 1 AND [chinhanh] IS NULL) OR ([chinhanh] = @Original_chinhanh)) AND ([id] = @Original_id))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_sotaikhoannganhang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sotaikhoannganhang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_nganhang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="nganhang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_loaitien" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="loaitien" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_nodaukynguyente" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="nodaukynguyente" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_nodaukyvnd" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="nodaukyvnd" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_codaukynguyente" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="codaukynguyente" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_codaukyvnd" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="codaukyvnd" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chinhanh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[nhapsodudaukytknganhang] ([sotaikhoannganhang], [nganhang], [loaitien], [nodaukynguyente], [nodaukyvnd], [codaukynguyente], [codaukyvnd], [tinhtrang], [chinhanh]) VALUES (@sotaikhoannganhang, @nganhang, @loaitien, @nodaukynguyente, @nodaukyvnd, @codaukynguyente, @codaukyvnd, @tinhtrang, @chinhanh);
SELECT sotaikhoannganhang, nganhang, loaitien, nodaukynguyente, nodaukyvnd, codaukynguyente, codaukyvnd, tinhtrang, chinhanh, id FROM nhapsodudaukytknganhang WHERE (id = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@sotaikhoannganhang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sotaikhoannganhang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@nganhang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="nganhang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@loaitien" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="loaitien" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@nodaukynguyente" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="nodaukynguyente" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@nodaukyvnd" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="nodaukyvnd" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@codaukynguyente" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="codaukynguyente" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@codaukyvnd" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="codaukyvnd" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT sotaikhoannganhang, nganhang, loaitien, nodaukynguyente, nodaukyvnd, codaukynguyente, codaukyvnd, tinhtrang, chinhanh, id FROM dbo.nhapsodudaukytknganhang</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[nhapsodudaukytknganhang] SET [sotaikhoannganhang] = @sotaikhoannganhang, [nganhang] = @nganhang, [loaitien] = @loaitien, [nodaukynguyente] = @nodaukynguyente, [nodaukyvnd] = @nodaukyvnd, [codaukynguyente] = @codaukynguyente, [codaukyvnd] = @codaukyvnd, [tinhtrang] = @tinhtrang, [chinhanh] = @chinhanh WHERE (([sotaikhoannganhang] = @Original_sotaikhoannganhang) AND ([nganhang] = @Original_nganhang) AND ([loaitien] = @Original_loaitien) AND ([nodaukynguyente] = @Original_nodaukynguyente) AND ([nodaukyvnd] = @Original_nodaukyvnd) AND ([codaukynguyente] = @Original_codaukynguyente) AND ([codaukyvnd] = @Original_codaukyvnd) AND ([tinhtrang] = @Original_tinhtrang) AND ((@IsNull_chinhanh = 1 AND [chinhanh] IS NULL) OR ([chinhanh] = @Original_chinhanh)) AND ([id] = @Original_id));
SELECT sotaikhoannganhang, nganhang, loaitien, nodaukynguyente, nodaukyvnd, codaukynguyente, codaukyvnd, tinhtrang, chinhanh, id FROM nhapsodudaukytknganhang WHERE (id = @id)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@sotaikhoannganhang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sotaikhoannganhang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@nganhang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="nganhang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@loaitien" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="loaitien" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@nodaukynguyente" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="nodaukynguyente" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@nodaukyvnd" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="nodaukyvnd" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@codaukynguyente" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="codaukynguyente" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@codaukyvnd" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="codaukyvnd" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_sotaikhoannganhang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sotaikhoannganhang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_nganhang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="nganhang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_loaitien" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="loaitien" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_nodaukynguyente" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="nodaukynguyente" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_nodaukyvnd" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="nodaukyvnd" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_codaukynguyente" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="codaukynguyente" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_codaukyvnd" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="codaukyvnd" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chinhanh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="id" ColumnName="id" DataSourceName="erpharma.dbo.nhapsodudaukytknganhang" DataTypeServer="decimal" DbType="Decimal" Direction="Input" ParameterName="@id" Precision="18" ProviderType="Decimal" Scale="0" Size="9" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="sotaikhoannganhang" DataSetColumn="sotaikhoannganhang" />
              <Mapping SourceColumn="nganhang" DataSetColumn="nganhang" />
              <Mapping SourceColumn="loaitien" DataSetColumn="loaitien" />
              <Mapping SourceColumn="nodaukynguyente" DataSetColumn="nodaukynguyente" />
              <Mapping SourceColumn="nodaukyvnd" DataSetColumn="nodaukyvnd" />
              <Mapping SourceColumn="codaukynguyente" DataSetColumn="codaukynguyente" />
              <Mapping SourceColumn="codaukyvnd" DataSetColumn="codaukyvnd" />
              <Mapping SourceColumn="tinhtrang" DataSetColumn="tinhtrang" />
              <Mapping SourceColumn="chinhanh" DataSetColumn="chinhanh" />
              <Mapping SourceColumn="id" DataSetColumn="id" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="dmkhaibaosohoadon2TableAdapter" GeneratorDataComponentClassName="dmkhaibaosohoadon2TableAdapter" Name="dmkhaibaosohoadon2" UserDataComponentName="dmkhaibaosohoadon2TableAdapter">
            <MainSource>
              <DbSource ConnectionRef="erpharmaConnectionString (MySettings)" DbObjectName="erpharma.dbo.dmkhaibaosohoadon" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[dmkhaibaosohoadon] WHERE (([kyhieusohoadon] = @Original_kyhieusohoadon) AND ([sohoadon] = @Original_sohoadon) AND ([chieudaisohoadon] = @Original_chieudaisohoadon) AND ([tinhtrang] = @Original_tinhtrang) AND ((@IsNull_chinhanh = 1 AND [chinhanh] IS NULL) OR ([chinhanh] = @Original_chinhanh)) AND ([id] = @Original_id))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_kyhieusohoadon" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="kyhieusohoadon" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_sohoadon" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sohoadon" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_chieudaisohoadon" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="chieudaisohoadon" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chinhanh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[dmkhaibaosohoadon] ([kyhieusohoadon], [sohoadon], [chieudaisohoadon], [tinhtrang], [chinhanh]) VALUES (@kyhieusohoadon, @sohoadon, @chieudaisohoadon, @tinhtrang, @chinhanh);
SELECT kyhieusohoadon, sohoadon, chieudaisohoadon, tinhtrang, chinhanh, id FROM dmkhaibaosohoadon WHERE (id = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@kyhieusohoadon" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="kyhieusohoadon" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@sohoadon" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sohoadon" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@chieudaisohoadon" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="chieudaisohoadon" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT kyhieusohoadon, sohoadon, chieudaisohoadon, tinhtrang, chinhanh, id FROM dbo.dmkhaibaosohoadon</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[dmkhaibaosohoadon] SET [kyhieusohoadon] = @kyhieusohoadon, [sohoadon] = @sohoadon, [chieudaisohoadon] = @chieudaisohoadon, [tinhtrang] = @tinhtrang, [chinhanh] = @chinhanh WHERE (([kyhieusohoadon] = @Original_kyhieusohoadon) AND ([sohoadon] = @Original_sohoadon) AND ([chieudaisohoadon] = @Original_chieudaisohoadon) AND ([tinhtrang] = @Original_tinhtrang) AND ((@IsNull_chinhanh = 1 AND [chinhanh] IS NULL) OR ([chinhanh] = @Original_chinhanh)) AND ([id] = @Original_id));
SELECT kyhieusohoadon, sohoadon, chieudaisohoadon, tinhtrang, chinhanh, id FROM dmkhaibaosohoadon WHERE (id = @id)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@kyhieusohoadon" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="kyhieusohoadon" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@sohoadon" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sohoadon" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@chieudaisohoadon" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="chieudaisohoadon" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_kyhieusohoadon" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="kyhieusohoadon" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_sohoadon" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sohoadon" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_chieudaisohoadon" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="chieudaisohoadon" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chinhanh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="id" ColumnName="id" DataSourceName="erpharma.dbo.dmkhaibaosohoadon" DataTypeServer="decimal" DbType="Decimal" Direction="Input" ParameterName="@id" Precision="18" ProviderType="Decimal" Scale="0" Size="9" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="kyhieusohoadon" DataSetColumn="kyhieusohoadon" />
              <Mapping SourceColumn="sohoadon" DataSetColumn="sohoadon" />
              <Mapping SourceColumn="chieudaisohoadon" DataSetColumn="chieudaisohoadon" />
              <Mapping SourceColumn="tinhtrang" DataSetColumn="tinhtrang" />
              <Mapping SourceColumn="chinhanh" DataSetColumn="chinhanh" />
              <Mapping SourceColumn="id" DataSetColumn="id" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="dmmauin2TableAdapter" GeneratorDataComponentClassName="dmmauin2TableAdapter" Name="dmmauin2" UserDataComponentName="dmmauin2TableAdapter">
            <MainSource>
              <DbSource ConnectionRef="erpharmaConnectionString (MySettings)" DbObjectName="erpharma.dbo.dmmauin" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[dmmauin] WHERE (([ma] = @Original_ma) AND ([ten] = @Original_ten) AND ([tenreport] = @Original_tenreport) AND ([ghichu] = @Original_ghichu) AND ([tinhtrang] = @Original_tinhtrang) AND ((@IsNull_chinhanh = 1 AND [chinhanh] IS NULL) OR ([chinhanh] = @Original_chinhanh)) AND ([id] = @Original_id))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tenreport" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tenreport" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ghichu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ghichu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chinhanh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[dmmauin] ([ma], [ten], [tenreport], [ghichu], [tinhtrang], [chinhanh]) VALUES (@ma, @ten, @tenreport, @ghichu, @tinhtrang, @chinhanh);
SELECT ma, ten, tenreport, ghichu, tinhtrang, chinhanh, id FROM dmmauin WHERE (id = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tenreport" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tenreport" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ghichu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ghichu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT ma, ten, tenreport, ghichu, tinhtrang, chinhanh, id FROM dbo.dmmauin</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[dmmauin] SET [ma] = @ma, [ten] = @ten, [tenreport] = @tenreport, [ghichu] = @ghichu, [tinhtrang] = @tinhtrang, [chinhanh] = @chinhanh WHERE (([ma] = @Original_ma) AND ([ten] = @Original_ten) AND ([tenreport] = @Original_tenreport) AND ([ghichu] = @Original_ghichu) AND ([tinhtrang] = @Original_tinhtrang) AND ((@IsNull_chinhanh = 1 AND [chinhanh] IS NULL) OR ([chinhanh] = @Original_chinhanh)) AND ([id] = @Original_id));
SELECT ma, ten, tenreport, ghichu, tinhtrang, chinhanh, id FROM dmmauin WHERE (id = @id)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tenreport" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tenreport" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ghichu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ghichu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tenreport" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tenreport" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ghichu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ghichu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chinhanh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="id" ColumnName="id" DataSourceName="erpharma.dbo.dmmauin" DataTypeServer="decimal" DbType="Decimal" Direction="Input" ParameterName="@id" Precision="18" ProviderType="Decimal" Scale="0" Size="9" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ma" DataSetColumn="ma" />
              <Mapping SourceColumn="ten" DataSetColumn="ten" />
              <Mapping SourceColumn="tenreport" DataSetColumn="tenreport" />
              <Mapping SourceColumn="ghichu" DataSetColumn="ghichu" />
              <Mapping SourceColumn="tinhtrang" DataSetColumn="tinhtrang" />
              <Mapping SourceColumn="chinhanh" DataSetColumn="chinhanh" />
              <Mapping SourceColumn="id" DataSetColumn="id" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="dmphuongxa2TableAdapter" GeneratorDataComponentClassName="dmphuongxa2TableAdapter" Name="dmphuongxa2" UserDataComponentName="dmphuongxa2TableAdapter">
            <MainSource>
              <DbSource ConnectionRef="erpharmaConnectionString (MySettings)" DbObjectName="erpharma.dbo.dmphuongxa" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[dmphuongxa] WHERE (([ma] = @Original_ma) AND ([ten] = @Original_ten) AND ([maquocgia] = @Original_maquocgia) AND ([matinhthanh] = @Original_matinhthanh) AND ([maquanhuyen] = @Original_maquanhuyen) AND ([ghichu] = @Original_ghichu) AND ([tinhtrang] = @Original_tinhtrang) AND ((@IsNull_chinhanh = 1 AND [chinhanh] IS NULL) OR ([chinhanh] = @Original_chinhanh)) AND ([id] = @Original_id))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_maquocgia" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="maquocgia" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_matinhthanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="matinhthanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_maquanhuyen" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="maquanhuyen" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ghichu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ghichu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chinhanh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[dmphuongxa] ([ma], [ten], [maquocgia], [matinhthanh], [maquanhuyen], [ghichu], [tinhtrang], [chinhanh]) VALUES (@ma, @ten, @maquocgia, @matinhthanh, @maquanhuyen, @ghichu, @tinhtrang, @chinhanh);
SELECT ma, ten, maquocgia, matinhthanh, maquanhuyen, ghichu, tinhtrang, chinhanh, id FROM dmphuongxa WHERE (id = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@maquocgia" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="maquocgia" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@matinhthanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="matinhthanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@maquanhuyen" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="maquanhuyen" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ghichu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ghichu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT ma, ten, maquocgia, matinhthanh, maquanhuyen, ghichu, tinhtrang, chinhanh, id FROM dbo.dmphuongxa</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[dmphuongxa] SET [ma] = @ma, [ten] = @ten, [maquocgia] = @maquocgia, [matinhthanh] = @matinhthanh, [maquanhuyen] = @maquanhuyen, [ghichu] = @ghichu, [tinhtrang] = @tinhtrang, [chinhanh] = @chinhanh WHERE (([ma] = @Original_ma) AND ([ten] = @Original_ten) AND ([maquocgia] = @Original_maquocgia) AND ([matinhthanh] = @Original_matinhthanh) AND ([maquanhuyen] = @Original_maquanhuyen) AND ([ghichu] = @Original_ghichu) AND ([tinhtrang] = @Original_tinhtrang) AND ((@IsNull_chinhanh = 1 AND [chinhanh] IS NULL) OR ([chinhanh] = @Original_chinhanh)) AND ([id] = @Original_id));
SELECT ma, ten, maquocgia, matinhthanh, maquanhuyen, ghichu, tinhtrang, chinhanh, id FROM dmphuongxa WHERE (id = @id)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@maquocgia" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="maquocgia" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@matinhthanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="matinhthanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@maquanhuyen" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="maquanhuyen" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ghichu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ghichu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_maquocgia" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="maquocgia" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_matinhthanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="matinhthanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_maquanhuyen" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="maquanhuyen" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ghichu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ghichu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chinhanh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="id" ColumnName="id" DataSourceName="erpharma.dbo.dmphuongxa" DataTypeServer="decimal" DbType="Decimal" Direction="Input" ParameterName="@id" Precision="18" ProviderType="Decimal" Scale="0" Size="9" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ma" DataSetColumn="ma" />
              <Mapping SourceColumn="ten" DataSetColumn="ten" />
              <Mapping SourceColumn="maquocgia" DataSetColumn="maquocgia" />
              <Mapping SourceColumn="matinhthanh" DataSetColumn="matinhthanh" />
              <Mapping SourceColumn="maquanhuyen" DataSetColumn="maquanhuyen" />
              <Mapping SourceColumn="ghichu" DataSetColumn="ghichu" />
              <Mapping SourceColumn="tinhtrang" DataSetColumn="tinhtrang" />
              <Mapping SourceColumn="chinhanh" DataSetColumn="chinhanh" />
              <Mapping SourceColumn="id" DataSetColumn="id" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="dmquanhuyen2TableAdapter" GeneratorDataComponentClassName="dmquanhuyen2TableAdapter" Name="dmquanhuyen2" UserDataComponentName="dmquanhuyen2TableAdapter">
            <MainSource>
              <DbSource ConnectionRef="erpharmaConnectionString (MySettings)" DbObjectName="erpharma.dbo.dmquanhuyen" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[dmquanhuyen] WHERE (([ma] = @Original_ma) AND ([ten] = @Original_ten) AND ([maquocgia] = @Original_maquocgia) AND ([matinhthanh] = @Original_matinhthanh) AND ([ghichu] = @Original_ghichu) AND ([tinhtrang] = @Original_tinhtrang) AND ((@IsNull_chinhanh = 1 AND [chinhanh] IS NULL) OR ([chinhanh] = @Original_chinhanh)) AND ([id] = @Original_id))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_maquocgia" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="maquocgia" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_matinhthanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="matinhthanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ghichu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ghichu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chinhanh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[dmquanhuyen] ([ma], [ten], [maquocgia], [matinhthanh], [ghichu], [tinhtrang], [chinhanh]) VALUES (@ma, @ten, @maquocgia, @matinhthanh, @ghichu, @tinhtrang, @chinhanh);
SELECT ma, ten, maquocgia, matinhthanh, ghichu, tinhtrang, chinhanh, id FROM dmquanhuyen WHERE (id = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@maquocgia" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="maquocgia" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@matinhthanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="matinhthanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ghichu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ghichu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT ma, ten, maquocgia, matinhthanh, ghichu, tinhtrang, chinhanh, id FROM dbo.dmquanhuyen</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[dmquanhuyen] SET [ma] = @ma, [ten] = @ten, [maquocgia] = @maquocgia, [matinhthanh] = @matinhthanh, [ghichu] = @ghichu, [tinhtrang] = @tinhtrang, [chinhanh] = @chinhanh WHERE (([ma] = @Original_ma) AND ([ten] = @Original_ten) AND ([maquocgia] = @Original_maquocgia) AND ([matinhthanh] = @Original_matinhthanh) AND ([ghichu] = @Original_ghichu) AND ([tinhtrang] = @Original_tinhtrang) AND ((@IsNull_chinhanh = 1 AND [chinhanh] IS NULL) OR ([chinhanh] = @Original_chinhanh)) AND ([id] = @Original_id));
SELECT ma, ten, maquocgia, matinhthanh, ghichu, tinhtrang, chinhanh, id FROM dmquanhuyen WHERE (id = @id)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@maquocgia" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="maquocgia" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@matinhthanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="matinhthanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ghichu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ghichu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_maquocgia" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="maquocgia" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_matinhthanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="matinhthanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ghichu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ghichu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chinhanh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="id" ColumnName="id" DataSourceName="erpharma.dbo.dmquanhuyen" DataTypeServer="decimal" DbType="Decimal" Direction="Input" ParameterName="@id" Precision="18" ProviderType="Decimal" Scale="0" Size="9" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ma" DataSetColumn="ma" />
              <Mapping SourceColumn="ten" DataSetColumn="ten" />
              <Mapping SourceColumn="maquocgia" DataSetColumn="maquocgia" />
              <Mapping SourceColumn="matinhthanh" DataSetColumn="matinhthanh" />
              <Mapping SourceColumn="ghichu" DataSetColumn="ghichu" />
              <Mapping SourceColumn="tinhtrang" DataSetColumn="tinhtrang" />
              <Mapping SourceColumn="chinhanh" DataSetColumn="chinhanh" />
              <Mapping SourceColumn="id" DataSetColumn="id" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="dmtygia2TableAdapter" GeneratorDataComponentClassName="dmtygia2TableAdapter" Name="dmtygia2" UserDataComponentName="dmtygia2TableAdapter">
            <MainSource>
              <DbSource ConnectionRef="erpharmaConnectionString (MySettings)" DbObjectName="erpharma.dbo.dmtygia" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[dmtygia] WHERE (([ngaytygia] = @Original_ngaytygia) AND ([loaitien] = @Original_loaitien) AND ([tygia] = @Original_tygia) AND ((@IsNull_ghichu = 1 AND [ghichu] IS NULL) OR ([ghichu] = @Original_ghichu)) AND ([tinhtrang] = @Original_tinhtrang) AND ((@IsNull_chinhanh = 1 AND [chinhanh] IS NULL) OR ([chinhanh] = @Original_chinhanh)) AND ([id] = @Original_id))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_ngaytygia" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngaytygia" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_loaitien" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="loaitien" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_tygia" Precision="18" ProviderType="Decimal" Scale="4" Size="0" SourceColumn="tygia" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ghichu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ghichu" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ghichu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ghichu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chinhanh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[dmtygia] ([ngaytygia], [loaitien], [tygia], [ghichu], [tinhtrang], [chinhanh]) VALUES (@ngaytygia, @loaitien, @tygia, @ghichu, @tinhtrang, @chinhanh);
SELECT ngaytygia, loaitien, tygia, ghichu, tinhtrang, chinhanh, id FROM dmtygia WHERE (id = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ngaytygia" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngaytygia" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@loaitien" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="loaitien" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@tygia" Precision="18" ProviderType="Decimal" Scale="4" Size="0" SourceColumn="tygia" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ghichu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ghichu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT ngaytygia, loaitien, tygia, ghichu, tinhtrang, chinhanh, id FROM dbo.dmtygia</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[dmtygia] SET [ngaytygia] = @ngaytygia, [loaitien] = @loaitien, [tygia] = @tygia, [ghichu] = @ghichu, [tinhtrang] = @tinhtrang, [chinhanh] = @chinhanh WHERE (([ngaytygia] = @Original_ngaytygia) AND ([loaitien] = @Original_loaitien) AND ([tygia] = @Original_tygia) AND ((@IsNull_ghichu = 1 AND [ghichu] IS NULL) OR ([ghichu] = @Original_ghichu)) AND ([tinhtrang] = @Original_tinhtrang) AND ((@IsNull_chinhanh = 1 AND [chinhanh] IS NULL) OR ([chinhanh] = @Original_chinhanh)) AND ([id] = @Original_id));
SELECT ngaytygia, loaitien, tygia, ghichu, tinhtrang, chinhanh, id FROM dmtygia WHERE (id = @id)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ngaytygia" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngaytygia" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@loaitien" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="loaitien" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@tygia" Precision="18" ProviderType="Decimal" Scale="4" Size="0" SourceColumn="tygia" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ghichu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ghichu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_ngaytygia" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngaytygia" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_loaitien" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="loaitien" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_tygia" Precision="18" ProviderType="Decimal" Scale="4" Size="0" SourceColumn="tygia" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ghichu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ghichu" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ghichu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ghichu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chinhanh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="id" ColumnName="id" DataSourceName="erpharma.dbo.dmtygia" DataTypeServer="decimal" DbType="Decimal" Direction="Input" ParameterName="@id" Precision="18" ProviderType="Decimal" Scale="0" Size="9" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ngaytygia" DataSetColumn="ngaytygia" />
              <Mapping SourceColumn="loaitien" DataSetColumn="loaitien" />
              <Mapping SourceColumn="tygia" DataSetColumn="tygia" />
              <Mapping SourceColumn="ghichu" DataSetColumn="ghichu" />
              <Mapping SourceColumn="tinhtrang" DataSetColumn="tinhtrang" />
              <Mapping SourceColumn="chinhanh" DataSetColumn="chinhanh" />
              <Mapping SourceColumn="id" DataSetColumn="id" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="nhapsodudaukytknganhang2TableAdapter" GeneratorDataComponentClassName="nhapsodudaukytknganhang2TableAdapter" Name="nhapsodudaukytknganhang2" UserDataComponentName="nhapsodudaukytknganhang2TableAdapter">
            <MainSource>
              <DbSource ConnectionRef="erpharmaConnectionString (MySettings)" DbObjectName="erpharma.dbo.nhapsodudaukytknganhang" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[nhapsodudaukytknganhang] WHERE (([sotaikhoannganhang] = @Original_sotaikhoannganhang) AND ([nganhang] = @Original_nganhang) AND ([loaitien] = @Original_loaitien) AND ([nodaukynguyente] = @Original_nodaukynguyente) AND ([nodaukyvnd] = @Original_nodaukyvnd) AND ([codaukynguyente] = @Original_codaukynguyente) AND ([codaukyvnd] = @Original_codaukyvnd) AND ([tinhtrang] = @Original_tinhtrang) AND ((@IsNull_chinhanh = 1 AND [chinhanh] IS NULL) OR ([chinhanh] = @Original_chinhanh)) AND ([id] = @Original_id))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_sotaikhoannganhang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sotaikhoannganhang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_nganhang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="nganhang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_loaitien" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="loaitien" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_nodaukynguyente" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="nodaukynguyente" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_nodaukyvnd" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="nodaukyvnd" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_codaukynguyente" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="codaukynguyente" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_codaukyvnd" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="codaukyvnd" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chinhanh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[nhapsodudaukytknganhang] ([sotaikhoannganhang], [nganhang], [loaitien], [nodaukynguyente], [nodaukyvnd], [codaukynguyente], [codaukyvnd], [tinhtrang], [chinhanh]) VALUES (@sotaikhoannganhang, @nganhang, @loaitien, @nodaukynguyente, @nodaukyvnd, @codaukynguyente, @codaukyvnd, @tinhtrang, @chinhanh);
SELECT sotaikhoannganhang, nganhang, loaitien, nodaukynguyente, nodaukyvnd, codaukynguyente, codaukyvnd, tinhtrang, chinhanh, id FROM nhapsodudaukytknganhang WHERE (id = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@sotaikhoannganhang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sotaikhoannganhang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@nganhang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="nganhang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@loaitien" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="loaitien" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@nodaukynguyente" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="nodaukynguyente" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@nodaukyvnd" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="nodaukyvnd" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@codaukynguyente" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="codaukynguyente" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@codaukyvnd" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="codaukyvnd" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT sotaikhoannganhang, nganhang, loaitien, nodaukynguyente, nodaukyvnd, codaukynguyente, codaukyvnd, tinhtrang, chinhanh, id FROM dbo.nhapsodudaukytknganhang</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[nhapsodudaukytknganhang] SET [sotaikhoannganhang] = @sotaikhoannganhang, [nganhang] = @nganhang, [loaitien] = @loaitien, [nodaukynguyente] = @nodaukynguyente, [nodaukyvnd] = @nodaukyvnd, [codaukynguyente] = @codaukynguyente, [codaukyvnd] = @codaukyvnd, [tinhtrang] = @tinhtrang, [chinhanh] = @chinhanh WHERE (([sotaikhoannganhang] = @Original_sotaikhoannganhang) AND ([nganhang] = @Original_nganhang) AND ([loaitien] = @Original_loaitien) AND ([nodaukynguyente] = @Original_nodaukynguyente) AND ([nodaukyvnd] = @Original_nodaukyvnd) AND ([codaukynguyente] = @Original_codaukynguyente) AND ([codaukyvnd] = @Original_codaukyvnd) AND ([tinhtrang] = @Original_tinhtrang) AND ((@IsNull_chinhanh = 1 AND [chinhanh] IS NULL) OR ([chinhanh] = @Original_chinhanh)) AND ([id] = @Original_id));
SELECT sotaikhoannganhang, nganhang, loaitien, nodaukynguyente, nodaukyvnd, codaukynguyente, codaukyvnd, tinhtrang, chinhanh, id FROM nhapsodudaukytknganhang WHERE (id = @id)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@sotaikhoannganhang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sotaikhoannganhang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@nganhang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="nganhang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@loaitien" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="loaitien" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@nodaukynguyente" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="nodaukynguyente" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@nodaukyvnd" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="nodaukyvnd" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@codaukynguyente" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="codaukynguyente" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@codaukyvnd" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="codaukyvnd" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_sotaikhoannganhang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sotaikhoannganhang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_nganhang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="nganhang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_loaitien" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="loaitien" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_nodaukynguyente" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="nodaukynguyente" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_nodaukyvnd" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="nodaukyvnd" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_codaukynguyente" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="codaukynguyente" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_codaukyvnd" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="codaukyvnd" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chinhanh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="id" ColumnName="id" DataSourceName="erpharma.dbo.nhapsodudaukytknganhang" DataTypeServer="decimal" DbType="Decimal" Direction="Input" ParameterName="@id" Precision="18" ProviderType="Decimal" Scale="0" Size="9" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="sotaikhoannganhang" DataSetColumn="sotaikhoannganhang" />
              <Mapping SourceColumn="nganhang" DataSetColumn="nganhang" />
              <Mapping SourceColumn="loaitien" DataSetColumn="loaitien" />
              <Mapping SourceColumn="nodaukynguyente" DataSetColumn="nodaukynguyente" />
              <Mapping SourceColumn="nodaukyvnd" DataSetColumn="nodaukyvnd" />
              <Mapping SourceColumn="codaukynguyente" DataSetColumn="codaukynguyente" />
              <Mapping SourceColumn="codaukyvnd" DataSetColumn="codaukyvnd" />
              <Mapping SourceColumn="tinhtrang" DataSetColumn="tinhtrang" />
              <Mapping SourceColumn="chinhanh" DataSetColumn="chinhanh" />
              <Mapping SourceColumn="id" DataSetColumn="id" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="dmlapuynhiemchiTableAdapter" GeneratorDataComponentClassName="dmlapuynhiemchiTableAdapter" Name="dmlapuynhiemchi" UserDataComponentName="dmlapuynhiemchiTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="erpharmaConnectionString (MySettings)" DbObjectName="erpharma.dbo.dmlapuynhiemchi" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[dmlapuynhiemchi] WHERE (([ngaylap] = @Original_ngaylap) AND ([loaichungtu] = @Original_loaichungtu) AND ([sochungtu] = @Original_sochungtu) AND ([mauin] = @Original_mauin) AND ([taikhoannganhang] = @Original_taikhoannganhang) AND ([tendvnhantien] = @Original_tendvnhantien) AND ([taikhoannganhangdv] = @Original_taikhoannganhangdv) AND ([nganhangdv] = @Original_nganhangdv) AND ([tinhthanh] = @Original_tinhthanh) AND ([sotienthanhtoan] = @Original_sotienthanhtoan) AND ([loaitien] = @Original_loaitien) AND ([noidungthanhtoan] = @Original_noidungthanhtoan) AND ([tinhtrang] = @Original_tinhtrang) AND ((@IsNull_chinhanh = 1 AND [chinhanh] IS NULL) OR ([chinhanh] = @Original_chinhanh)) AND ([id] = @Original_id))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_ngaylap" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngaylap" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_loaichungtu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="loaichungtu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_sochungtu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sochungtu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_mauin" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="mauin" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_taikhoannganhang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="taikhoannganhang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tendvnhantien" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tendvnhantien" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_taikhoannganhangdv" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="taikhoannganhangdv" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_nganhangdv" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="nganhangdv" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tinhthanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhthanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_sotienthanhtoan" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="sotienthanhtoan" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_loaitien" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="loaitien" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_noidungthanhtoan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="noidungthanhtoan" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chinhanh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[dmlapuynhiemchi] ([ngaylap], [loaichungtu], [sochungtu], [mauin], [taikhoannganhang], [tendvnhantien], [taikhoannganhangdv], [nganhangdv], [tinhthanh], [sotienthanhtoan], [loaitien], [noidungthanhtoan], [tinhtrang], [chinhanh]) VALUES (@ngaylap, @loaichungtu, @sochungtu, @mauin, @taikhoannganhang, @tendvnhantien, @taikhoannganhangdv, @nganhangdv, @tinhthanh, @sotienthanhtoan, @loaitien, @noidungthanhtoan, @tinhtrang, @chinhanh);
SELECT ngaylap, loaichungtu, sochungtu, mauin, taikhoannganhang, tendvnhantien, taikhoannganhangdv, nganhangdv, tinhthanh, sotienthanhtoan, loaitien, noidungthanhtoan, tinhtrang, chinhanh, id FROM dmlapuynhiemchi WHERE (id = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ngaylap" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngaylap" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@loaichungtu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="loaichungtu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@sochungtu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sochungtu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@mauin" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="mauin" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@taikhoannganhang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="taikhoannganhang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tendvnhantien" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tendvnhantien" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@taikhoannganhangdv" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="taikhoannganhangdv" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@nganhangdv" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="nganhangdv" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tinhthanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhthanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@sotienthanhtoan" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="sotienthanhtoan" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@loaitien" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="loaitien" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@noidungthanhtoan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="noidungthanhtoan" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT ngaylap, loaichungtu, sochungtu, mauin, taikhoannganhang, tendvnhantien, taikhoannganhangdv, nganhangdv, tinhthanh, sotienthanhtoan, loaitien, noidungthanhtoan, tinhtrang, chinhanh, id FROM dbo.dmlapuynhiemchi</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[dmlapuynhiemchi] SET [ngaylap] = @ngaylap, [loaichungtu] = @loaichungtu, [sochungtu] = @sochungtu, [mauin] = @mauin, [taikhoannganhang] = @taikhoannganhang, [tendvnhantien] = @tendvnhantien, [taikhoannganhangdv] = @taikhoannganhangdv, [nganhangdv] = @nganhangdv, [tinhthanh] = @tinhthanh, [sotienthanhtoan] = @sotienthanhtoan, [loaitien] = @loaitien, [noidungthanhtoan] = @noidungthanhtoan, [tinhtrang] = @tinhtrang, [chinhanh] = @chinhanh WHERE (([ngaylap] = @Original_ngaylap) AND ([loaichungtu] = @Original_loaichungtu) AND ([sochungtu] = @Original_sochungtu) AND ([mauin] = @Original_mauin) AND ([taikhoannganhang] = @Original_taikhoannganhang) AND ([tendvnhantien] = @Original_tendvnhantien) AND ([taikhoannganhangdv] = @Original_taikhoannganhangdv) AND ([nganhangdv] = @Original_nganhangdv) AND ([tinhthanh] = @Original_tinhthanh) AND ([sotienthanhtoan] = @Original_sotienthanhtoan) AND ([loaitien] = @Original_loaitien) AND ([noidungthanhtoan] = @Original_noidungthanhtoan) AND ([tinhtrang] = @Original_tinhtrang) AND ((@IsNull_chinhanh = 1 AND [chinhanh] IS NULL) OR ([chinhanh] = @Original_chinhanh)) AND ([id] = @Original_id));
SELECT ngaylap, loaichungtu, sochungtu, mauin, taikhoannganhang, tendvnhantien, taikhoannganhangdv, nganhangdv, tinhthanh, sotienthanhtoan, loaitien, noidungthanhtoan, tinhtrang, chinhanh, id FROM dmlapuynhiemchi WHERE (id = @id)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ngaylap" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngaylap" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@loaichungtu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="loaichungtu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@sochungtu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sochungtu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@mauin" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="mauin" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@taikhoannganhang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="taikhoannganhang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tendvnhantien" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tendvnhantien" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@taikhoannganhangdv" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="taikhoannganhangdv" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@nganhangdv" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="nganhangdv" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tinhthanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhthanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@sotienthanhtoan" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="sotienthanhtoan" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@loaitien" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="loaitien" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@noidungthanhtoan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="noidungthanhtoan" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_ngaylap" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngaylap" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_loaichungtu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="loaichungtu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_sochungtu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sochungtu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_mauin" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="mauin" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_taikhoannganhang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="taikhoannganhang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tendvnhantien" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tendvnhantien" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_taikhoannganhangdv" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="taikhoannganhangdv" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_nganhangdv" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="nganhangdv" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tinhthanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhthanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_sotienthanhtoan" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="sotienthanhtoan" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_loaitien" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="loaitien" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_noidungthanhtoan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="noidungthanhtoan" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chinhanh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="id" ColumnName="id" DataSourceName="erpharma.dbo.dmlapuynhiemchi" DataTypeServer="decimal" DbType="Decimal" Direction="Input" ParameterName="@id" Precision="18" ProviderType="Decimal" Scale="0" Size="9" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ngaylap" DataSetColumn="ngaylap" />
              <Mapping SourceColumn="loaichungtu" DataSetColumn="loaichungtu" />
              <Mapping SourceColumn="sochungtu" DataSetColumn="sochungtu" />
              <Mapping SourceColumn="mauin" DataSetColumn="mauin" />
              <Mapping SourceColumn="taikhoannganhang" DataSetColumn="taikhoannganhang" />
              <Mapping SourceColumn="tendvnhantien" DataSetColumn="tendvnhantien" />
              <Mapping SourceColumn="taikhoannganhangdv" DataSetColumn="taikhoannganhangdv" />
              <Mapping SourceColumn="nganhangdv" DataSetColumn="nganhangdv" />
              <Mapping SourceColumn="tinhthanh" DataSetColumn="tinhthanh" />
              <Mapping SourceColumn="sotienthanhtoan" DataSetColumn="sotienthanhtoan" />
              <Mapping SourceColumn="loaitien" DataSetColumn="loaitien" />
              <Mapping SourceColumn="noidungthanhtoan" DataSetColumn="noidungthanhtoan" />
              <Mapping SourceColumn="tinhtrang" DataSetColumn="tinhtrang" />
              <Mapping SourceColumn="chinhanh" DataSetColumn="chinhanh" />
              <Mapping SourceColumn="id" DataSetColumn="id" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="dmtinhthanhTableAdapter" GeneratorDataComponentClassName="dmtinhthanhTableAdapter" Name="dmtinhthanh" UserDataComponentName="dmtinhthanhTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="erpharmaConnectionString (MySettings)" DbObjectName="erpharma.dbo.dmtinhthanh" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[dmtinhthanh] WHERE (([ma] = @Original_ma) AND ([ten] = @Original_ten) AND ([maquocgia] = @Original_maquocgia) AND ((@IsNull_ghichu = 1 AND [ghichu] IS NULL) OR ([ghichu] = @Original_ghichu)) AND ([id] = @Original_id))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_maquocgia" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="maquocgia" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ghichu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ghichu" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ghichu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ghichu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[dmtinhthanh] ([ma], [ten], [maquocgia], [ghichu]) VALUES (@ma, @ten, @maquocgia, @ghichu);
SELECT ma, ten, maquocgia, ghichu, id FROM dmtinhthanh WHERE (id = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@maquocgia" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="maquocgia" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ghichu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ghichu" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT ma, ten, maquocgia, ghichu, id FROM dbo.dmtinhthanh</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[dmtinhthanh] SET [ma] = @ma, [ten] = @ten, [maquocgia] = @maquocgia, [ghichu] = @ghichu WHERE (([ma] = @Original_ma) AND ([ten] = @Original_ten) AND ([maquocgia] = @Original_maquocgia) AND ((@IsNull_ghichu = 1 AND [ghichu] IS NULL) OR ([ghichu] = @Original_ghichu)) AND ([id] = @Original_id));
SELECT ma, ten, maquocgia, ghichu, id FROM dmtinhthanh WHERE (id = @id)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@maquocgia" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="maquocgia" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ghichu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ghichu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_maquocgia" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="maquocgia" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ghichu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ghichu" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ghichu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ghichu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="id" ColumnName="id" DataSourceName="erpharma.dbo.dmtinhthanh" DataTypeServer="decimal" DbType="Decimal" Direction="Input" ParameterName="@id" Precision="18" ProviderType="Decimal" Scale="0" Size="9" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ma" DataSetColumn="ma" />
              <Mapping SourceColumn="ten" DataSetColumn="ten" />
              <Mapping SourceColumn="maquocgia" DataSetColumn="maquocgia" />
              <Mapping SourceColumn="ghichu" DataSetColumn="ghichu" />
              <Mapping SourceColumn="id" DataSetColumn="id" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="dmloainhanvienTableAdapter" GeneratorDataComponentClassName="dmloainhanvienTableAdapter" Name="dmloainhanvien" UserDataComponentName="dmloainhanvienTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="erpharmaConnectionString (MySettings)" DbObjectName="erpharma.dbo.dmloainhanvien" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[dmloainhanvien] WHERE (([ma] = @Original_ma) AND ([ten] = @Original_ten) AND ((@IsNull_ghichu = 1 AND [ghichu] IS NULL) OR ([ghichu] = @Original_ghichu)) AND ([id] = @Original_id))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ghichu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ghichu" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ghichu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ghichu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[dmloainhanvien] ([ma], [ten], [ghichu]) VALUES (@ma, @ten, @ghichu);
SELECT ma, ten, ghichu, id FROM dmloainhanvien WHERE (id = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ghichu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ghichu" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT ma, ten, ghichu, id FROM dbo.dmloainhanvien</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[dmloainhanvien] SET [ma] = @ma, [ten] = @ten, [ghichu] = @ghichu WHERE (([ma] = @Original_ma) AND ([ten] = @Original_ten) AND ((@IsNull_ghichu = 1 AND [ghichu] IS NULL) OR ([ghichu] = @Original_ghichu)) AND ([id] = @Original_id));
SELECT ma, ten, ghichu, id FROM dmloainhanvien WHERE (id = @id)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ghichu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ghichu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ghichu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ghichu" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ghichu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ghichu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="id" ColumnName="id" DataSourceName="erpharma.dbo.dmloainhanvien" DataTypeServer="decimal" DbType="Decimal" Direction="Input" ParameterName="@id" Precision="18" ProviderType="Decimal" Scale="0" Size="9" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ma" DataSetColumn="ma" />
              <Mapping SourceColumn="ten" DataSetColumn="ten" />
              <Mapping SourceColumn="ghichu" DataSetColumn="ghichu" />
              <Mapping SourceColumn="id" DataSetColumn="id" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="dmnhanvienTableAdapter" GeneratorDataComponentClassName="dmnhanvienTableAdapter" Name="dmnhanvien" UserDataComponentName="dmnhanvienTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="erpharmaConnectionString (MySettings)" DbObjectName="erpharma.dbo.dmnhanvien" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[dmnhanvien] WHERE (([ma] = @Original_ma) AND ([ten] = @Original_ten) AND ([bophan] = @Original_bophan) AND ([loainhanvien] = @Original_loainhanvien) AND ((@IsNull_ghichu = 1 AND [ghichu] IS NULL) OR ([ghichu] = @Original_ghichu)) AND ([id] = @Original_id))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_bophan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="bophan" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_loainhanvien" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="loainhanvien" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ghichu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ghichu" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ghichu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ghichu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[dmnhanvien] ([ma], [ten], [bophan], [loainhanvien], [ghichu]) VALUES (@ma, @ten, @bophan, @loainhanvien, @ghichu);
SELECT ma, ten, bophan, loainhanvien, ghichu, id FROM dmnhanvien WHERE (id = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@bophan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="bophan" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@loainhanvien" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="loainhanvien" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ghichu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ghichu" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT ma, ten, bophan, loainhanvien, ghichu, id FROM dbo.dmnhanvien</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[dmnhanvien] SET [ma] = @ma, [ten] = @ten, [bophan] = @bophan, [loainhanvien] = @loainhanvien, [ghichu] = @ghichu WHERE (([ma] = @Original_ma) AND ([ten] = @Original_ten) AND ([bophan] = @Original_bophan) AND ([loainhanvien] = @Original_loainhanvien) AND ((@IsNull_ghichu = 1 AND [ghichu] IS NULL) OR ([ghichu] = @Original_ghichu)) AND ([id] = @Original_id));
SELECT ma, ten, bophan, loainhanvien, ghichu, id FROM dmnhanvien WHERE (id = @id)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@bophan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="bophan" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@loainhanvien" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="loainhanvien" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ghichu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ghichu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_bophan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="bophan" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_loainhanvien" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="loainhanvien" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ghichu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ghichu" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ghichu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ghichu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="id" ColumnName="id" DataSourceName="erpharma.dbo.dmnhanvien" DataTypeServer="decimal" DbType="Decimal" Direction="Input" ParameterName="@id" Precision="18" ProviderType="Decimal" Scale="0" Size="9" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ma" DataSetColumn="ma" />
              <Mapping SourceColumn="ten" DataSetColumn="ten" />
              <Mapping SourceColumn="bophan" DataSetColumn="bophan" />
              <Mapping SourceColumn="loainhanvien" DataSetColumn="loainhanvien" />
              <Mapping SourceColumn="ghichu" DataSetColumn="ghichu" />
              <Mapping SourceColumn="id" DataSetColumn="id" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="dmtaikhoancap2TableAdapter" GeneratorDataComponentClassName="dmtaikhoancap2TableAdapter" Name="dmtaikhoancap2" UserDataComponentName="dmtaikhoancap2TableAdapter">
            <MainSource>
              <DbSource ConnectionRef="erpharmaConnectionString (MySettings)" DbObjectName="erpharma.dbo.dmtaikhoancap2" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[dmtaikhoancap2] WHERE (([ma] = @Original_ma) AND ((@IsNull_ten = 1 AND [ten] IS NULL) OR ([ten] = @Original_ten)) AND ((@IsNull_matkcha = 1 AND [matkcha] IS NULL) OR ([matkcha] = @Original_matkcha)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ten" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_matkcha" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="matkcha" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_matkcha" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="matkcha" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[dmtaikhoancap2] ([ma], [ten], [matkcha]) VALUES (@ma, @ten, @matkcha);
SELECT ma, ten, matkcha FROM dmtaikhoancap2 WHERE (ma = @ma)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@matkcha" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="matkcha" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT ma, ten, matkcha FROM dbo.dmtaikhoancap2</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[dmtaikhoancap2] SET [ma] = @ma, [ten] = @ten, [matkcha] = @matkcha WHERE (([ma] = @Original_ma) AND ((@IsNull_ten = 1 AND [ten] IS NULL) OR ([ten] = @Original_ten)) AND ((@IsNull_matkcha = 1 AND [matkcha] IS NULL) OR ([matkcha] = @Original_matkcha)));
SELECT ma, ten, matkcha FROM dmtaikhoancap2 WHERE (ma = @ma)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@matkcha" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="matkcha" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ten" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_matkcha" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="matkcha" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_matkcha" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="matkcha" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ma" DataSetColumn="ma" />
              <Mapping SourceColumn="ten" DataSetColumn="ten" />
              <Mapping SourceColumn="matkcha" DataSetColumn="matkcha" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="donvisudungTableAdapter" GeneratorDataComponentClassName="donvisudungTableAdapter" Name="donvisudung" UserDataComponentName="donvisudungTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="erpharmaConnectionString (MySettings)" DbObjectName="erpharma.dbo.donvisudung" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[donvisudung] ([ten], [diachi], [logo], [dienthoai], [fax], [email]) VALUES (@ten, @diachi, @logo, @dienthoai, @fax, @email)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@diachi" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="diachi" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Binary" Direction="Input" ParameterName="@logo" Precision="0" ProviderType="Image" Scale="0" Size="0" SourceColumn="logo" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@dienthoai" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="dienthoai" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@fax" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="fax" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@email" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="email" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT ten, diachi, logo, dienthoai, fax, email FROM dbo.donvisudung</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ten" DataSetColumn="ten" />
              <Mapping SourceColumn="diachi" DataSetColumn="diachi" />
              <Mapping SourceColumn="logo" DataSetColumn="logo" />
              <Mapping SourceColumn="dienthoai" DataSetColumn="dienthoai" />
              <Mapping SourceColumn="fax" DataSetColumn="fax" />
              <Mapping SourceColumn="email" DataSetColumn="email" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="httiento1TableAdapter" GeneratorDataComponentClassName="httiento1TableAdapter" Name="httiento1" UserDataComponentName="httiento1TableAdapter">
            <MainSource>
              <DbSource ConnectionRef="erpharmaConnectionString (MySettings)" DbObjectName="erpharma.dbo.httiento" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[httiento] WHERE (([tenbang] = @Original_tenbang) AND ([tiento] = @Original_tiento) AND ([id] = @Original_id))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tenbang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tenbang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tiento" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tiento" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[httiento] ([tenbang], [tiento]) VALUES (@tenbang, @tiento);
SELECT tenbang, tiento, id FROM httiento WHERE (id = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tenbang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tenbang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tiento" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tiento" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT tenbang, tiento, id FROM dbo.httiento</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[httiento] SET [tenbang] = @tenbang, [tiento] = @tiento WHERE (([tenbang] = @Original_tenbang) AND ([tiento] = @Original_tiento) AND ([id] = @Original_id));
SELECT tenbang, tiento, id FROM httiento WHERE (id = @id)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tenbang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tenbang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tiento" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tiento" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tenbang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tenbang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tiento" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tiento" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="id" ColumnName="id" DataSourceName="" DataTypeServer="decimal" DbType="Decimal" Direction="Input" ParameterName="@id" Precision="18" ProviderType="Decimal" Scale="0" Size="9" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="tenbang" DataSetColumn="tenbang" />
              <Mapping SourceColumn="tiento" DataSetColumn="tiento" />
              <Mapping SourceColumn="id" DataSetColumn="id" />
            </Mappings>
            <Sources>
              <DbSource ConnectionRef="erpharmaConnectionString (MySettings)" DbObjectType="Unknown" GenerateShortCommands="true" GeneratorSourceName="getMa" Modifier="Public" Name="getMa" QueryType="Scalar" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="getMa">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>select max(ma) + 1 from ketoantienmat where ngaylap between @tungay and @denngay;</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="tungay" ColumnName="ngaylap" DataSourceName="" DataTypeServer="smalldatetime" DbType="DateTime" Direction="Input" ParameterName="@tungay" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="4" SourceColumn="ngaylap" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="denngay" ColumnName="ngaylap" DataSourceName="" DataTypeServer="smalldatetime" DbType="DateTime" Direction="Input" ParameterName="@denngay" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="4" SourceColumn="ngaylap" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
              <DbSource ConnectionRef="erpharmaConnectionString (MySettings)" DbObjectType="Unknown" GenerateShortCommands="true" GeneratorSourceName="getMaNganHang" Modifier="Public" Name="getMaNganHang" QueryType="Scalar" ScalarCallRetval="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy1" UserSourceName="getMaNganHang">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>select max(ma) + 1 from ketoannganhang where ngaylap between @tungay and @denngay;</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="tungay" ColumnName="ngaylap" DataSourceName="" DataTypeServer="smalldatetime" DbType="DateTime" Direction="Input" ParameterName="@tungay" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="4" SourceColumn="ngaylap" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="denngay" ColumnName="ngaylap" DataSourceName="" DataTypeServer="smalldatetime" DbType="DateTime" Direction="Input" ParameterName="@denngay" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="4" SourceColumn="ngaylap" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </Sources>
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="httiento2TableAdapter" GeneratorDataComponentClassName="httiento2TableAdapter" Name="httiento2" UserDataComponentName="httiento2TableAdapter">
            <MainSource>
              <DbSource ConnectionRef="erpharmaConnectionString (MySettings)" DbObjectName="erpharma.dbo.httiento" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[httiento] WHERE (([tenbang] = @Original_tenbang) AND ([tiento] = @Original_tiento) AND ([id] = @Original_id))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tenbang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tenbang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tiento" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tiento" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[httiento] ([tenbang], [tiento]) VALUES (@tenbang, @tiento);
SELECT tenbang, tiento, id FROM httiento WHERE (id = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tenbang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tenbang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tiento" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tiento" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT tenbang, tiento, id FROM dbo.httiento</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[httiento] SET [tenbang] = @tenbang, [tiento] = @tiento WHERE (([tenbang] = @Original_tenbang) AND ([tiento] = @Original_tiento) AND ([id] = @Original_id));
SELECT tenbang, tiento, id FROM httiento WHERE (id = @id)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tenbang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tenbang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tiento" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tiento" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tenbang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tenbang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tiento" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tiento" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="id" ColumnName="id" DataSourceName="" DataTypeServer="decimal" DbType="Decimal" Direction="Input" ParameterName="@id" Precision="18" ProviderType="Decimal" Scale="0" Size="9" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="tenbang" DataSetColumn="tenbang" />
              <Mapping SourceColumn="tiento" DataSetColumn="tiento" />
              <Mapping SourceColumn="id" DataSetColumn="id" />
            </Mappings>
            <Sources>
              <DbSource ConnectionRef="erpharmaConnectionString (MySettings)" DbObjectType="Unknown" GenerateShortCommands="true" GeneratorSourceName="getMaKeToanNganHang" Modifier="Public" Name="getMaKeToanNganHang" QueryType="Scalar" ScalarCallRetval="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="getMaKeToanNganHang">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT     MAX(ma) + 1 AS Expr1
FROM         ketoannganhang
WHERE     (ngaylap BETWEEN @tungay AND @denngay)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="tungay" ColumnName="ngaylap" DataSourceName="" DataTypeServer="smalldatetime" DbType="DateTime" Direction="Input" ParameterName="@tungay" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="4" SourceColumn="ngaylap" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="denngay" ColumnName="ngaylap" DataSourceName="" DataTypeServer="smalldatetime" DbType="DateTime" Direction="Input" ParameterName="@denngay" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="4" SourceColumn="ngaylap" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
              <DbSource ConnectionRef="erpharmaConnectionString (MySettings)" DbObjectType="Unknown" GenerateShortCommands="true" GeneratorSourceName="getMaKeToanTienMat" Modifier="Public" Name="getMaKeToanTienMat" QueryType="Scalar" ScalarCallRetval="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy1" UserSourceName="getMaKeToanTienMat">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT     MAX(ma) + 1 AS Expr1
FROM         ketoantienmat
WHERE     (ngaylap BETWEEN @tungay AND @denngay)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="tungay" ColumnName="ngaylap" DataSourceName="" DataTypeServer="smalldatetime" DbType="DateTime" Direction="Input" ParameterName="@tungay" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="4" SourceColumn="ngaylap" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="denngay" ColumnName="ngaylap" DataSourceName="" DataTypeServer="smalldatetime" DbType="DateTime" Direction="Input" ParameterName="@denngay" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="4" SourceColumn="ngaylap" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
              <DbSource ConnectionRef="erpharmaConnectionString (MySettings)" DbObjectType="Unknown" GenerateShortCommands="true" GeneratorSourceName="getMaMuaHangNhapKhau" Modifier="Public" Name="getMaMuaHangNhapKhau" QueryType="Scalar" ScalarCallRetval="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy2" UserSourceName="getMaMuaHangNhapKhau">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT     MAX(ma) + 1 AS Expr1
FROM         muahangnhapkhau
WHERE     (ngaylap BETWEEN @tungay AND @denngay)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="tungay" ColumnName="ngaylap" DataSourceName="" DataTypeServer="smalldatetime" DbType="DateTime" Direction="Input" ParameterName="@tungay" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="4" SourceColumn="ngaylap" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="denngay" ColumnName="ngaylap" DataSourceName="" DataTypeServer="smalldatetime" DbType="DateTime" Direction="Input" ParameterName="@denngay" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="4" SourceColumn="ngaylap" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
              <DbSource ConnectionRef="erpharmaConnectionString (MySettings)" DbObjectType="Unknown" GenerateShortCommands="true" GeneratorSourceName="getMaMuaHangTrongNuoc" Modifier="Public" Name="getMaMuaHangTrongNuoc" QueryType="Scalar" ScalarCallRetval="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy3" UserSourceName="getMaMuaHangTrongNuoc">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT     MAX(ma) + 1 AS Expr1
FROM         muahangtrongnuoc
WHERE     (ngaylap BETWEEN @tungay AND @denngay)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="tungay" ColumnName="ngaylap" DataSourceName="" DataTypeServer="nvarchar(50)" DbType="String" Direction="Input" ParameterName="@tungay" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumn="ngaylap" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="denngay" ColumnName="ngaylap" DataSourceName="" DataTypeServer="nvarchar(50)" DbType="String" Direction="Input" ParameterName="@denngay" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumn="ngaylap" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </Sources>
          </TableAdapter>
        </Tables>
        <Sources />
      </DataSource>
    </xs:appinfo>
  </xs:annotation>
  <xs:element name="DataSetReport" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="true" msprop:Generator_DataSetName="DataSetReport" msprop:Generator_UserDSName="DataSetReport">
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element name="dmchinhanh" msprop:Generator_TableClassName="dmchinhanhDataTable" msprop:Generator_TableVarName="tabledmchinhanh" msprop:Generator_TablePropName="dmchinhanh" msprop:Generator_RowDeletingName="dmchinhanhRowDeleting" msprop:Generator_UserTableName="dmchinhanh" msprop:Generator_RowChangingName="dmchinhanhRowChanging" msprop:Generator_RowEvHandlerName="dmchinhanhRowChangeEventHandler" msprop:Generator_RowDeletedName="dmchinhanhRowDeleted" msprop:Generator_RowEvArgName="dmchinhanhRowChangeEvent" msprop:Generator_RowChangedName="dmchinhanhRowChanged" msprop:Generator_RowClassName="dmchinhanhRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ma" msprop:Generator_ColumnVarNameInTable="columnma" msprop:Generator_ColumnPropNameInRow="ma" msprop:Generator_ColumnPropNameInTable="maColumn" msprop:Generator_UserColumnName="ma">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ten" msprop:Generator_ColumnVarNameInTable="columnten" msprop:Generator_ColumnPropNameInRow="ten" msprop:Generator_ColumnPropNameInTable="tenColumn" msprop:Generator_UserColumnName="ten">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="500" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="diachi" msprop:Generator_ColumnVarNameInTable="columndiachi" msprop:Generator_ColumnPropNameInRow="diachi" msprop:Generator_ColumnPropNameInTable="diachiColumn" msprop:Generator_UserColumnName="diachi" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="500" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="dienthoai" msprop:Generator_ColumnVarNameInTable="columndienthoai" msprop:Generator_ColumnPropNameInRow="dienthoai" msprop:Generator_ColumnPropNameInTable="dienthoaiColumn" msprop:Generator_UserColumnName="dienthoai" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="100" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="fax" msprop:Generator_ColumnVarNameInTable="columnfax" msprop:Generator_ColumnPropNameInRow="fax" msprop:Generator_ColumnPropNameInTable="faxColumn" msprop:Generator_UserColumnName="fax" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="email" msprop:Generator_ColumnVarNameInTable="columnemail" msprop:Generator_ColumnPropNameInRow="email" msprop:Generator_ColumnPropNameInTable="emailColumn" msprop:Generator_UserColumnName="email" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="trangthai" msprop:Generator_ColumnVarNameInTable="columntrangthai" msprop:Generator_ColumnPropNameInRow="trangthai" msprop:Generator_ColumnPropNameInTable="trangthaiColumn" msprop:Generator_UserColumnName="trangthai">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="id" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnid" msprop:Generator_ColumnPropNameInRow="id" msprop:Generator_ColumnPropNameInTable="idColumn" msprop:Generator_UserColumnName="id" type="xs:decimal" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="dmdvthamgluong" msprop:Generator_TableClassName="dmdvthamgluongDataTable" msprop:Generator_TableVarName="tabledmdvthamgluong" msprop:Generator_TablePropName="dmdvthamgluong" msprop:Generator_RowDeletingName="dmdvthamgluongRowDeleting" msprop:Generator_UserTableName="dmdvthamgluong" msprop:Generator_RowChangingName="dmdvthamgluongRowChanging" msprop:Generator_RowEvHandlerName="dmdvthamgluongRowChangeEventHandler" msprop:Generator_RowDeletedName="dmdvthamgluongRowDeleted" msprop:Generator_RowEvArgName="dmdvthamgluongRowChangeEvent" msprop:Generator_RowChangedName="dmdvthamgluongRowChanged" msprop:Generator_RowClassName="dmdvthamgluongRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ma" msprop:Generator_ColumnVarNameInTable="columnma" msprop:Generator_ColumnPropNameInRow="ma" msprop:Generator_ColumnPropNameInTable="maColumn" msprop:Generator_UserColumnName="ma">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ten" msprop:Generator_ColumnVarNameInTable="columnten" msprop:Generator_ColumnPropNameInRow="ten" msprop:Generator_ColumnPropNameInTable="tenColumn" msprop:Generator_UserColumnName="ten">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="500" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="dvtquidoi" msprop:Generator_ColumnVarNameInTable="columndvtquidoi" msprop:Generator_ColumnPropNameInRow="dvtquidoi" msprop:Generator_ColumnPropNameInTable="dvtquidoiColumn" msprop:Generator_UserColumnName="dvtquidoi">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="chinhanh" msprop:Generator_ColumnVarNameInTable="columnchinhanh" msprop:Generator_ColumnPropNameInRow="chinhanh" msprop:Generator_ColumnPropNameInTable="chinhanhColumn" msprop:Generator_UserColumnName="chinhanh" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="tinhtrang" msprop:Generator_ColumnVarNameInTable="columntinhtrang" msprop:Generator_ColumnPropNameInRow="tinhtrang" msprop:Generator_ColumnPropNameInTable="tinhtrangColumn" msprop:Generator_UserColumnName="tinhtrang">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="id" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnid" msprop:Generator_ColumnPropNameInRow="id" msprop:Generator_ColumnPropNameInTable="idColumn" msprop:Generator_UserColumnName="id" type="xs:decimal" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="dmhotrotrunotudong" msprop:Generator_TableClassName="dmhotrotrunotudongDataTable" msprop:Generator_TableVarName="tabledmhotrotrunotudong" msprop:Generator_TablePropName="dmhotrotrunotudong" msprop:Generator_RowDeletingName="dmhotrotrunotudongRowDeleting" msprop:Generator_UserTableName="dmhotrotrunotudong" msprop:Generator_RowChangingName="dmhotrotrunotudongRowChanging" msprop:Generator_RowEvHandlerName="dmhotrotrunotudongRowChangeEventHandler" msprop:Generator_RowDeletedName="dmhotrotrunotudongRowDeleted" msprop:Generator_RowEvArgName="dmhotrotrunotudongRowChangeEvent" msprop:Generator_RowChangedName="dmhotrotrunotudongRowChanged" msprop:Generator_RowClassName="dmhotrotrunotudongRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ma" msprop:Generator_ColumnVarNameInTable="columnma" msprop:Generator_ColumnPropNameInRow="ma" msprop:Generator_ColumnPropNameInTable="maColumn" msprop:Generator_UserColumnName="ma">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ten" msprop:Generator_ColumnVarNameInTable="columnten" msprop:Generator_ColumnPropNameInRow="ten" msprop:Generator_ColumnPropNameInTable="tenColumn" msprop:Generator_UserColumnName="ten">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="500" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="id" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnid" msprop:Generator_ColumnPropNameInRow="id" msprop:Generator_ColumnPropNameInTable="idColumn" msprop:Generator_UserColumnName="id" type="xs:decimal" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="dmkhachhang" msprop:Generator_TableClassName="dmkhachhangDataTable" msprop:Generator_TableVarName="tabledmkhachhang" msprop:Generator_TablePropName="dmkhachhang" msprop:Generator_RowDeletingName="dmkhachhangRowDeleting" msprop:Generator_UserTableName="dmkhachhang" msprop:Generator_RowChangingName="dmkhachhangRowChanging" msprop:Generator_RowEvHandlerName="dmkhachhangRowChangeEventHandler" msprop:Generator_RowDeletedName="dmkhachhangRowDeleted" msprop:Generator_RowEvArgName="dmkhachhangRowChangeEvent" msprop:Generator_RowChangedName="dmkhachhangRowChanged" msprop:Generator_RowClassName="dmkhachhangRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ma" msprop:Generator_ColumnVarNameInTable="columnma" msprop:Generator_ColumnPropNameInRow="ma" msprop:Generator_ColumnPropNameInTable="maColumn" msprop:Generator_UserColumnName="ma">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ten" msprop:Generator_ColumnVarNameInTable="columnten" msprop:Generator_ColumnPropNameInRow="ten" msprop:Generator_ColumnPropNameInTable="tenColumn" msprop:Generator_UserColumnName="ten">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="500" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="mataikhoan" msprop:Generator_ColumnVarNameInTable="columnmataikhoan" msprop:Generator_ColumnPropNameInRow="mataikhoan" msprop:Generator_ColumnPropNameInTable="mataikhoanColumn" msprop:Generator_UserColumnName="mataikhoan" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="diachi" msprop:Generator_ColumnVarNameInTable="columndiachi" msprop:Generator_ColumnPropNameInRow="diachi" msprop:Generator_ColumnPropNameInTable="diachiColumn" msprop:Generator_UserColumnName="diachi" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="500" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="maduong" msprop:Generator_ColumnVarNameInTable="columnmaduong" msprop:Generator_ColumnPropNameInRow="maduong" msprop:Generator_ColumnPropNameInTable="maduongColumn" msprop:Generator_UserColumnName="maduong" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="maphuong" msprop:Generator_ColumnVarNameInTable="columnmaphuong" msprop:Generator_ColumnPropNameInRow="maphuong" msprop:Generator_ColumnPropNameInTable="maphuongColumn" msprop:Generator_UserColumnName="maphuong" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="maquan" msprop:Generator_ColumnVarNameInTable="columnmaquan" msprop:Generator_ColumnPropNameInRow="maquan" msprop:Generator_ColumnPropNameInTable="maquanColumn" msprop:Generator_UserColumnName="maquan" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="phanloai" msprop:Generator_ColumnVarNameInTable="columnphanloai" msprop:Generator_ColumnPropNameInRow="phanloai" msprop:Generator_ColumnPropNameInTable="phanloaiColumn" msprop:Generator_UserColumnName="phanloai" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="loaikh" msprop:Generator_ColumnVarNameInTable="columnloaikh" msprop:Generator_ColumnPropNameInRow="loaikh" msprop:Generator_ColumnPropNameInTable="loaikhColumn" msprop:Generator_UserColumnName="loaikh" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ghichu" msprop:Generator_ColumnVarNameInTable="columnghichu" msprop:Generator_ColumnPropNameInRow="ghichu" msprop:Generator_ColumnPropNameInTable="ghichuColumn" msprop:Generator_UserColumnName="ghichu" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="500" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="manhomkh" msprop:Generator_ColumnVarNameInTable="columnmanhomkh" msprop:Generator_ColumnPropNameInRow="manhomkh" msprop:Generator_ColumnPropNameInTable="manhomkhColumn" msprop:Generator_UserColumnName="manhomkh" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="machinhanh" msprop:Generator_ColumnVarNameInTable="columnmachinhanh" msprop:Generator_ColumnPropNameInRow="machinhanh" msprop:Generator_ColumnPropNameInTable="machinhanhColumn" msprop:Generator_UserColumnName="machinhanh" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="dienthoai" msprop:Generator_ColumnVarNameInTable="columndienthoai" msprop:Generator_ColumnPropNameInRow="dienthoai" msprop:Generator_ColumnPropNameInTable="dienthoaiColumn" msprop:Generator_UserColumnName="dienthoai" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="500" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="masothue" msprop:Generator_ColumnVarNameInTable="columnmasothue" msprop:Generator_ColumnPropNameInRow="masothue" msprop:Generator_ColumnPropNameInTable="masothueColumn" msprop:Generator_UserColumnName="masothue" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="tentat" msprop:Generator_ColumnVarNameInTable="columntentat" msprop:Generator_ColumnPropNameInRow="tentat" msprop:Generator_ColumnPropNameInTable="tentatColumn" msprop:Generator_UserColumnName="tentat" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="500" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="matinh" msprop:Generator_ColumnVarNameInTable="columnmatinh" msprop:Generator_ColumnPropNameInRow="matinh" msprop:Generator_ColumnPropNameInTable="matinhColumn" msprop:Generator_UserColumnName="matinh" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="tenkhuynhiemchi" msprop:Generator_ColumnVarNameInTable="columntenkhuynhiemchi" msprop:Generator_ColumnPropNameInRow="tenkhuynhiemchi" msprop:Generator_ColumnPropNameInTable="tenkhuynhiemchiColumn" msprop:Generator_UserColumnName="tenkhuynhiemchi" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="500" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="daidien1" msprop:Generator_ColumnVarNameInTable="columndaidien1" msprop:Generator_ColumnPropNameInRow="daidien1" msprop:Generator_ColumnPropNameInTable="daidien1Column" msprop:Generator_UserColumnName="daidien1" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="500" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="chucvu1" msprop:Generator_ColumnVarNameInTable="columnchucvu1" msprop:Generator_ColumnPropNameInRow="chucvu1" msprop:Generator_ColumnPropNameInTable="chucvu1Column" msprop:Generator_UserColumnName="chucvu1" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="500" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="dienthoai1" msprop:Generator_ColumnVarNameInTable="columndienthoai1" msprop:Generator_ColumnPropNameInRow="dienthoai1" msprop:Generator_ColumnPropNameInTable="dienthoai1Column" msprop:Generator_UserColumnName="dienthoai1" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="500" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="daidien2" msprop:Generator_ColumnVarNameInTable="columndaidien2" msprop:Generator_ColumnPropNameInRow="daidien2" msprop:Generator_ColumnPropNameInTable="daidien2Column" msprop:Generator_UserColumnName="daidien2" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="500" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="chucvu2" msprop:Generator_ColumnVarNameInTable="columnchucvu2" msprop:Generator_ColumnPropNameInRow="chucvu2" msprop:Generator_ColumnPropNameInTable="chucvu2Column" msprop:Generator_UserColumnName="chucvu2" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="500" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="dienthoai2" msprop:Generator_ColumnVarNameInTable="columndienthoai2" msprop:Generator_ColumnPropNameInRow="dienthoai2" msprop:Generator_ColumnPropNameInTable="dienthoai2Column" msprop:Generator_UserColumnName="dienthoai2" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="500" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="maquocgia" msprop:Generator_ColumnVarNameInTable="columnmaquocgia" msprop:Generator_ColumnPropNameInRow="maquocgia" msprop:Generator_ColumnPropNameInTable="maquocgiaColumn" msprop:Generator_UserColumnName="maquocgia" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="makhuvuc" msprop:Generator_ColumnVarNameInTable="columnmakhuvuc" msprop:Generator_ColumnPropNameInRow="makhuvuc" msprop:Generator_ColumnPropNameInTable="makhuvucColumn" msprop:Generator_UserColumnName="makhuvuc" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="makhcaptren" msprop:Generator_ColumnVarNameInTable="columnmakhcaptren" msprop:Generator_ColumnPropNameInRow="makhcaptren" msprop:Generator_ColumnPropNameInTable="makhcaptrenColumn" msprop:Generator_UserColumnName="makhcaptren" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="hanmuctindung" msprop:Generator_ColumnVarNameInTable="columnhanmuctindung" msprop:Generator_ColumnPropNameInRow="hanmuctindung" msprop:Generator_ColumnPropNameInTable="hanmuctindungColumn" msprop:Generator_UserColumnName="hanmuctindung" type="xs:decimal" minOccurs="0" />
              <xs:element name="hanthanhtoan" msprop:Generator_ColumnVarNameInTable="columnhanthanhtoan" msprop:Generator_ColumnPropNameInRow="hanthanhtoan" msprop:Generator_ColumnPropNameInTable="hanthanhtoanColumn" msprop:Generator_UserColumnName="hanthanhtoan" type="xs:int" minOccurs="0" />
              <xs:element name="loaihinhkd" msprop:Generator_ColumnVarNameInTable="columnloaihinhkd" msprop:Generator_ColumnPropNameInRow="loaihinhkd" msprop:Generator_ColumnPropNameInTable="loaihinhkdColumn" msprop:Generator_UserColumnName="loaihinhkd" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ngayphatsinhgd" msprop:Generator_ColumnVarNameInTable="columnngayphatsinhgd" msprop:Generator_ColumnPropNameInRow="ngayphatsinhgd" msprop:Generator_ColumnPropNameInTable="ngayphatsinhgdColumn" msprop:Generator_UserColumnName="ngayphatsinhgd" type="xs:dateTime" minOccurs="0" />
              <xs:element name="ngaythanhlap" msprop:Generator_ColumnVarNameInTable="columnngaythanhlap" msprop:Generator_ColumnPropNameInRow="ngaythanhlap" msprop:Generator_ColumnPropNameInTable="ngaythanhlapColumn" msprop:Generator_UserColumnName="ngaythanhlap" type="xs:dateTime" minOccurs="0" />
              <xs:element name="nganhnghekd" msprop:Generator_ColumnVarNameInTable="columnnganhnghekd" msprop:Generator_ColumnPropNameInRow="nganhnghekd" msprop:Generator_ColumnPropNameInTable="nganhnghekdColumn" msprop:Generator_UserColumnName="nganhnghekd" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="fax" msprop:Generator_ColumnVarNameInTable="columnfax" msprop:Generator_ColumnPropNameInRow="fax" msprop:Generator_ColumnPropNameInTable="faxColumn" msprop:Generator_UserColumnName="fax" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="500" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="macu" msprop:Generator_ColumnVarNameInTable="columnmacu" msprop:Generator_ColumnPropNameInRow="macu" msprop:Generator_ColumnPropNameInTable="macuColumn" msprop:Generator_UserColumnName="macu" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="banggia" msprop:Generator_ColumnVarNameInTable="columnbanggia" msprop:Generator_ColumnPropNameInRow="banggia" msprop:Generator_ColumnPropNameInTable="banggiaColumn" msprop:Generator_UserColumnName="banggia" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="chietkhau" msprop:Generator_ColumnVarNameInTable="columnchietkhau" msprop:Generator_ColumnPropNameInRow="chietkhau" msprop:Generator_ColumnPropNameInTable="chietkhauColumn" msprop:Generator_UserColumnName="chietkhau" type="xs:decimal" minOccurs="0" />
              <xs:element name="giamgia" msprop:Generator_ColumnVarNameInTable="columngiamgia" msprop:Generator_ColumnPropNameInRow="giamgia" msprop:Generator_ColumnPropNameInTable="giamgiaColumn" msprop:Generator_UserColumnName="giamgia" type="xs:decimal" minOccurs="0" />
              <xs:element name="diachigiaohang" msprop:Generator_ColumnVarNameInTable="columndiachigiaohang" msprop:Generator_ColumnPropNameInRow="diachigiaohang" msprop:Generator_ColumnPropNameInTable="diachigiaohangColumn" msprop:Generator_UserColumnName="diachigiaohang" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="500" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="loaivitri" msprop:Generator_ColumnVarNameInTable="columnloaivitri" msprop:Generator_ColumnPropNameInRow="loaivitri" msprop:Generator_ColumnPropNameInTable="loaivitriColumn" msprop:Generator_UserColumnName="loaivitri" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="loaietc" msprop:Generator_ColumnVarNameInTable="columnloaietc" msprop:Generator_ColumnPropNameInRow="loaietc" msprop:Generator_ColumnPropNameInTable="loaietcColumn" msprop:Generator_UserColumnName="loaietc" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="chinhanh" msprop:Generator_ColumnVarNameInTable="columnchinhanh" msprop:Generator_ColumnPropNameInRow="chinhanh" msprop:Generator_ColumnPropNameInTable="chinhanhColumn" msprop:Generator_UserColumnName="chinhanh" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="tinhtrang" msprop:Generator_ColumnVarNameInTable="columntinhtrang" msprop:Generator_ColumnPropNameInRow="tinhtrang" msprop:Generator_ColumnPropNameInTable="tinhtrangColumn" msprop:Generator_UserColumnName="tinhtrang" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="id" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnid" msprop:Generator_ColumnPropNameInRow="id" msprop:Generator_ColumnPropNameInTable="idColumn" msprop:Generator_UserColumnName="id" type="xs:decimal" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="dmkheuocvay" msprop:Generator_TableClassName="dmkheuocvayDataTable" msprop:Generator_TableVarName="tabledmkheuocvay" msprop:Generator_TablePropName="dmkheuocvay" msprop:Generator_RowDeletingName="dmkheuocvayRowDeleting" msprop:Generator_UserTableName="dmkheuocvay" msprop:Generator_RowChangingName="dmkheuocvayRowChanging" msprop:Generator_RowEvHandlerName="dmkheuocvayRowChangeEventHandler" msprop:Generator_RowDeletedName="dmkheuocvayRowDeleted" msprop:Generator_RowEvArgName="dmkheuocvayRowChangeEvent" msprop:Generator_RowChangedName="dmkheuocvayRowChanged" msprop:Generator_RowClassName="dmkheuocvayRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ma" msprop:Generator_ColumnVarNameInTable="columnma" msprop:Generator_ColumnPropNameInRow="ma" msprop:Generator_ColumnPropNameInTable="maColumn" msprop:Generator_UserColumnName="ma">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="taikhoannganhang" msprop:Generator_ColumnVarNameInTable="columntaikhoannganhang" msprop:Generator_ColumnPropNameInRow="taikhoannganhang" msprop:Generator_ColumnPropNameInTable="taikhoannganhangColumn" msprop:Generator_UserColumnName="taikhoannganhang" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="manganhang" msprop:Generator_ColumnVarNameInTable="columnmanganhang" msprop:Generator_ColumnPropNameInRow="manganhang" msprop:Generator_ColumnPropNameInTable="manganhangColumn" msprop:Generator_UserColumnName="manganhang">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="sokheuoc" msprop:Generator_ColumnVarNameInTable="columnsokheuoc" msprop:Generator_ColumnPropNameInRow="sokheuoc" msprop:Generator_ColumnPropNameInTable="sokheuocColumn" msprop:Generator_UserColumnName="sokheuoc" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="loaitien" msprop:Generator_ColumnVarNameInTable="columnloaitien" msprop:Generator_ColumnPropNameInRow="loaitien" msprop:Generator_ColumnPropNameInTable="loaitienColumn" msprop:Generator_UserColumnName="loaitien" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ngayvay" msprop:Generator_ColumnVarNameInTable="columnngayvay" msprop:Generator_ColumnPropNameInRow="ngayvay" msprop:Generator_ColumnPropNameInTable="ngayvayColumn" msprop:Generator_UserColumnName="ngayvay" type="xs:dateTime" minOccurs="0" />
              <xs:element name="kythanhtoan" msprop:Generator_ColumnVarNameInTable="columnkythanhtoan" msprop:Generator_ColumnPropNameInRow="kythanhtoan" msprop:Generator_ColumnPropNameInTable="kythanhtoanColumn" msprop:Generator_UserColumnName="kythanhtoan" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="laisuat" msprop:Generator_ColumnVarNameInTable="columnlaisuat" msprop:Generator_ColumnPropNameInRow="laisuat" msprop:Generator_ColumnPropNameInTable="laisuatColumn" msprop:Generator_UserColumnName="laisuat" type="xs:decimal" minOccurs="0" />
              <xs:element name="hanthanhtoan" msprop:Generator_ColumnVarNameInTable="columnhanthanhtoan" msprop:Generator_ColumnPropNameInRow="hanthanhtoan" msprop:Generator_ColumnPropNameInTable="hanthanhtoanColumn" msprop:Generator_UserColumnName="hanthanhtoan" type="xs:dateTime" minOccurs="0" />
              <xs:element name="ghichu" msprop:Generator_ColumnVarNameInTable="columnghichu" msprop:Generator_ColumnPropNameInRow="ghichu" msprop:Generator_ColumnPropNameInTable="ghichuColumn" msprop:Generator_UserColumnName="ghichu" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="500" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="sohopdongtindung" msprop:Generator_ColumnVarNameInTable="columnsohopdongtindung" msprop:Generator_ColumnPropNameInRow="sohopdongtindung" msprop:Generator_ColumnPropNameInTable="sohopdongtindungColumn" msprop:Generator_UserColumnName="sohopdongtindung" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="500" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="sotienhopdong" msprop:Generator_ColumnVarNameInTable="columnsotienhopdong" msprop:Generator_ColumnPropNameInRow="sotienhopdong" msprop:Generator_ColumnPropNameInTable="sotienhopdongColumn" msprop:Generator_UserColumnName="sotienhopdong" type="xs:decimal" minOccurs="0" />
              <xs:element name="phuongthucrutvon" msprop:Generator_ColumnVarNameInTable="columnphuongthucrutvon" msprop:Generator_ColumnPropNameInRow="phuongthucrutvon" msprop:Generator_ColumnPropNameInTable="phuongthucrutvonColumn" msprop:Generator_UserColumnName="phuongthucrutvon" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="chungtukemtheo" msprop:Generator_ColumnVarNameInTable="columnchungtukemtheo" msprop:Generator_ColumnPropNameInRow="chungtukemtheo" msprop:Generator_ColumnPropNameInTable="chungtukemtheoColumn" msprop:Generator_UserColumnName="chungtukemtheo" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="sochungtu" msprop:Generator_ColumnVarNameInTable="columnsochungtu" msprop:Generator_ColumnPropNameInRow="sochungtu" msprop:Generator_ColumnPropNameInTable="sochungtuColumn" msprop:Generator_UserColumnName="sochungtu" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="tygia" msprop:Generator_ColumnVarNameInTable="columntygia" msprop:Generator_ColumnPropNameInRow="tygia" msprop:Generator_ColumnPropNameInTable="tygiaColumn" msprop:Generator_UserColumnName="tygia" type="xs:decimal" minOccurs="0" />
              <xs:element name="VND" msprop:Generator_ColumnVarNameInTable="columnVND" msprop:Generator_ColumnPropNameInRow="VND" msprop:Generator_ColumnPropNameInTable="VNDColumn" msprop:Generator_UserColumnName="VND" type="xs:decimal" minOccurs="0" />
              <xs:element name="chinhanh" msprop:Generator_ColumnVarNameInTable="columnchinhanh" msprop:Generator_ColumnPropNameInRow="chinhanh" msprop:Generator_ColumnPropNameInTable="chinhanhColumn" msprop:Generator_UserColumnName="chinhanh" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="tinhtrang" msprop:Generator_ColumnVarNameInTable="columntinhtrang" msprop:Generator_ColumnPropNameInRow="tinhtrang" msprop:Generator_ColumnPropNameInTable="tinhtrangColumn" msprop:Generator_UserColumnName="tinhtrang">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="id" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnid" msprop:Generator_ColumnPropNameInRow="id" msprop:Generator_ColumnPropNameInTable="idColumn" msprop:Generator_UserColumnName="id" type="xs:decimal" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="dmkho" msprop:Generator_TableClassName="dmkhoDataTable" msprop:Generator_TableVarName="tabledmkho" msprop:Generator_TablePropName="dmkho" msprop:Generator_RowDeletingName="dmkhoRowDeleting" msprop:Generator_UserTableName="dmkho" msprop:Generator_RowChangingName="dmkhoRowChanging" msprop:Generator_RowEvHandlerName="dmkhoRowChangeEventHandler" msprop:Generator_RowDeletedName="dmkhoRowDeleted" msprop:Generator_RowEvArgName="dmkhoRowChangeEvent" msprop:Generator_RowChangedName="dmkhoRowChanged" msprop:Generator_RowClassName="dmkhoRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ma" msprop:Generator_ColumnVarNameInTable="columnma" msprop:Generator_ColumnPropNameInRow="ma" msprop:Generator_ColumnPropNameInTable="maColumn" msprop:Generator_UserColumnName="ma">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ten" msprop:Generator_ColumnVarNameInTable="columnten" msprop:Generator_ColumnPropNameInRow="ten" msprop:Generator_ColumnPropNameInTable="tenColumn" msprop:Generator_UserColumnName="ten">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="500" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="diachi" msprop:Generator_ColumnVarNameInTable="columndiachi" msprop:Generator_ColumnPropNameInRow="diachi" msprop:Generator_ColumnPropNameInTable="diachiColumn" msprop:Generator_UserColumnName="diachi" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="500" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="dienthoai" msprop:Generator_ColumnVarNameInTable="columndienthoai" msprop:Generator_ColumnPropNameInRow="dienthoai" msprop:Generator_ColumnPropNameInTable="dienthoaiColumn" msprop:Generator_UserColumnName="dienthoai" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="500" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="dientich" msprop:Generator_ColumnVarNameInTable="columndientich" msprop:Generator_ColumnPropNameInRow="dientich" msprop:Generator_ColumnPropNameInTable="dientichColumn" msprop:Generator_UserColumnName="dientich" type="xs:decimal" minOccurs="0" />
              <xs:element name="diengiai" msprop:Generator_ColumnVarNameInTable="columndiengiai" msprop:Generator_ColumnPropNameInRow="diengiai" msprop:Generator_ColumnPropNameInTable="diengiaiColumn" msprop:Generator_UserColumnName="diengiai" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="4000" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="machinhanh" msprop:Generator_ColumnVarNameInTable="columnmachinhanh" msprop:Generator_ColumnPropNameInRow="machinhanh" msprop:Generator_ColumnPropNameInTable="machinhanhColumn" msprop:Generator_UserColumnName="machinhanh" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="makhuvuc" msprop:Generator_ColumnVarNameInTable="columnmakhuvuc" msprop:Generator_ColumnPropNameInRow="makhuvuc" msprop:Generator_ColumnPropNameInTable="makhuvucColumn" msprop:Generator_UserColumnName="makhuvuc" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="loaikho" msprop:Generator_ColumnVarNameInTable="columnloaikho" msprop:Generator_ColumnPropNameInRow="loaikho" msprop:Generator_ColumnPropNameInTable="loaikhoColumn" msprop:Generator_UserColumnName="loaikho" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="loaichungtunhap" msprop:Generator_ColumnVarNameInTable="columnloaichungtunhap" msprop:Generator_ColumnPropNameInRow="loaichungtunhap" msprop:Generator_ColumnPropNameInTable="loaichungtunhapColumn" msprop:Generator_UserColumnName="loaichungtunhap" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="loaichungtuxuat" msprop:Generator_ColumnVarNameInTable="columnloaichungtuxuat" msprop:Generator_ColumnPropNameInRow="loaichungtuxuat" msprop:Generator_ColumnPropNameInTable="loaichungtuxuatColumn" msprop:Generator_UserColumnName="loaichungtuxuat" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="taikhoankho" msprop:Generator_ColumnVarNameInTable="columntaikhoankho" msprop:Generator_ColumnPropNameInRow="taikhoankho" msprop:Generator_ColumnPropNameInTable="taikhoankhoColumn" msprop:Generator_UserColumnName="taikhoankho" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="taikhoangiavon" msprop:Generator_ColumnVarNameInTable="columntaikhoangiavon" msprop:Generator_ColumnPropNameInRow="taikhoangiavon" msprop:Generator_ColumnPropNameInTable="taikhoangiavonColumn" msprop:Generator_UserColumnName="taikhoangiavon" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="dunglocator" msprop:Generator_ColumnVarNameInTable="columndunglocator" msprop:Generator_ColumnPropNameInRow="dunglocator" msprop:Generator_ColumnPropNameInTable="dunglocatorColumn" msprop:Generator_UserColumnName="dunglocator" type="xs:boolean" minOccurs="0" />
              <xs:element name="khokhonggia" msprop:Generator_ColumnVarNameInTable="columnkhokhonggia" msprop:Generator_ColumnPropNameInRow="khokhonggia" msprop:Generator_ColumnPropNameInTable="khokhonggiaColumn" msprop:Generator_UserColumnName="khokhonggia" type="xs:boolean" minOccurs="0" />
              <xs:element name="phuongphaptinhgia" msprop:Generator_ColumnVarNameInTable="columnphuongphaptinhgia" msprop:Generator_ColumnPropNameInRow="phuongphaptinhgia" msprop:Generator_ColumnPropNameInTable="phuongphaptinhgiaColumn" msprop:Generator_UserColumnName="phuongphaptinhgia" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="khoxuong" msprop:Generator_ColumnVarNameInTable="columnkhoxuong" msprop:Generator_ColumnPropNameInRow="khoxuong" msprop:Generator_ColumnPropNameInTable="khoxuongColumn" msprop:Generator_UserColumnName="khoxuong" type="xs:boolean" minOccurs="0" />
              <xs:element name="taikhoandoanhthu" msprop:Generator_ColumnVarNameInTable="columntaikhoandoanhthu" msprop:Generator_ColumnPropNameInRow="taikhoandoanhthu" msprop:Generator_ColumnPropNameInTable="taikhoandoanhthuColumn" msprop:Generator_UserColumnName="taikhoandoanhthu" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="chinhanh" msprop:Generator_ColumnVarNameInTable="columnchinhanh" msprop:Generator_ColumnPropNameInRow="chinhanh" msprop:Generator_ColumnPropNameInTable="chinhanhColumn" msprop:Generator_UserColumnName="chinhanh" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="tinhtrang" msprop:Generator_ColumnVarNameInTable="columntinhtrang" msprop:Generator_ColumnPropNameInRow="tinhtrang" msprop:Generator_ColumnPropNameInTable="tinhtrangColumn" msprop:Generator_UserColumnName="tinhtrang">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="id" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnid" msprop:Generator_ColumnPropNameInRow="id" msprop:Generator_ColumnPropNameInTable="idColumn" msprop:Generator_UserColumnName="id" type="xs:decimal" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="dmkhoanmucphi" msprop:Generator_TableClassName="dmkhoanmucphiDataTable" msprop:Generator_TableVarName="tabledmkhoanmucphi" msprop:Generator_TablePropName="dmkhoanmucphi" msprop:Generator_RowDeletingName="dmkhoanmucphiRowDeleting" msprop:Generator_UserTableName="dmkhoanmucphi" msprop:Generator_RowChangingName="dmkhoanmucphiRowChanging" msprop:Generator_RowEvHandlerName="dmkhoanmucphiRowChangeEventHandler" msprop:Generator_RowDeletedName="dmkhoanmucphiRowDeleted" msprop:Generator_RowEvArgName="dmkhoanmucphiRowChangeEvent" msprop:Generator_RowChangedName="dmkhoanmucphiRowChanged" msprop:Generator_RowClassName="dmkhoanmucphiRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ma" msprop:Generator_ColumnVarNameInTable="columnma" msprop:Generator_ColumnPropNameInRow="ma" msprop:Generator_ColumnPropNameInTable="maColumn" msprop:Generator_UserColumnName="ma">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ten" msprop:Generator_ColumnVarNameInTable="columnten" msprop:Generator_ColumnPropNameInRow="ten" msprop:Generator_ColumnPropNameInTable="tenColumn" msprop:Generator_UserColumnName="ten">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="500" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="sotaikhoan" msprop:Generator_ColumnVarNameInTable="columnsotaikhoan" msprop:Generator_ColumnPropNameInRow="sotaikhoan" msprop:Generator_ColumnPropNameInTable="sotaikhoanColumn" msprop:Generator_UserColumnName="sotaikhoan" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="500" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="cap" msprop:Generator_ColumnVarNameInTable="columncap" msprop:Generator_ColumnPropNameInRow="cap" msprop:Generator_ColumnPropNameInTable="capColumn" msprop:Generator_UserColumnName="cap" type="xs:boolean" minOccurs="0" />
              <xs:element name="captren" msprop:Generator_ColumnVarNameInTable="columncaptren" msprop:Generator_ColumnPropNameInRow="captren" msprop:Generator_ColumnPropNameInTable="captrenColumn" msprop:Generator_UserColumnName="captren" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="tkcaptren" msprop:Generator_ColumnVarNameInTable="columntkcaptren" msprop:Generator_ColumnPropNameInRow="tkcaptren" msprop:Generator_ColumnPropNameInTable="tkcaptrenColumn" msprop:Generator_UserColumnName="tkcaptren" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="conhapkmcaptren" msprop:Generator_ColumnVarNameInTable="columnconhapkmcaptren" msprop:Generator_ColumnPropNameInRow="conhapkmcaptren" msprop:Generator_ColumnPropNameInTable="conhapkmcaptrenColumn" msprop:Generator_UserColumnName="conhapkmcaptren" type="xs:boolean" minOccurs="0" />
              <xs:element name="loaitien" msprop:Generator_ColumnVarNameInTable="columnloaitien" msprop:Generator_ColumnPropNameInRow="loaitien" msprop:Generator_ColumnPropNameInTable="loaitienColumn" msprop:Generator_UserColumnName="loaitien" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="phanhe" msprop:Generator_ColumnVarNameInTable="columnphanhe" msprop:Generator_ColumnPropNameInRow="phanhe" msprop:Generator_ColumnPropNameInTable="phanheColumn" msprop:Generator_UserColumnName="phanhe" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="chinhanh" msprop:Generator_ColumnVarNameInTable="columnchinhanh" msprop:Generator_ColumnPropNameInRow="chinhanh" msprop:Generator_ColumnPropNameInTable="chinhanhColumn" msprop:Generator_UserColumnName="chinhanh" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="tinhtrang" msprop:Generator_ColumnVarNameInTable="columntinhtrang" msprop:Generator_ColumnPropNameInRow="tinhtrang" msprop:Generator_ColumnPropNameInTable="tinhtrangColumn" msprop:Generator_UserColumnName="tinhtrang">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="id" msprop:Generator_ColumnVarNameInTable="columnid" msprop:Generator_ColumnPropNameInRow="id" msprop:Generator_ColumnPropNameInTable="idColumn" msprop:Generator_UserColumnName="id" type="xs:decimal" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="dmloaichungtu" msprop:Generator_TableClassName="dmloaichungtuDataTable" msprop:Generator_TableVarName="tabledmloaichungtu" msprop:Generator_TablePropName="dmloaichungtu" msprop:Generator_RowDeletingName="dmloaichungtuRowDeleting" msprop:Generator_UserTableName="dmloaichungtu" msprop:Generator_RowChangingName="dmloaichungtuRowChanging" msprop:Generator_RowEvHandlerName="dmloaichungtuRowChangeEventHandler" msprop:Generator_RowDeletedName="dmloaichungtuRowDeleted" msprop:Generator_RowEvArgName="dmloaichungtuRowChangeEvent" msprop:Generator_RowChangedName="dmloaichungtuRowChanged" msprop:Generator_RowClassName="dmloaichungtuRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ma" msprop:Generator_ColumnVarNameInTable="columnma" msprop:Generator_ColumnPropNameInRow="ma" msprop:Generator_ColumnPropNameInTable="maColumn" msprop:Generator_UserColumnName="ma">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ten" msprop:Generator_ColumnVarNameInTable="columnten" msprop:Generator_ColumnPropNameInRow="ten" msprop:Generator_ColumnPropNameInTable="tenColumn" msprop:Generator_UserColumnName="ten">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="500" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="phanhe" msprop:Generator_ColumnVarNameInTable="columnphanhe" msprop:Generator_ColumnPropNameInRow="phanhe" msprop:Generator_ColumnPropNameInTable="phanheColumn" msprop:Generator_UserColumnName="phanhe">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="thutuphanhe" msprop:Generator_ColumnVarNameInTable="columnthutuphanhe" msprop:Generator_ColumnPropNameInRow="thutuphanhe" msprop:Generator_ColumnPropNameInTable="thutuphanheColumn" msprop:Generator_UserColumnName="thutuphanhe" type="xs:int" />
              <xs:element name="chinhanh" msprop:Generator_ColumnVarNameInTable="columnchinhanh" msprop:Generator_ColumnPropNameInRow="chinhanh" msprop:Generator_ColumnPropNameInTable="chinhanhColumn" msprop:Generator_UserColumnName="chinhanh">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="tinhtrang" msprop:Generator_ColumnVarNameInTable="columntinhtrang" msprop:Generator_ColumnPropNameInRow="tinhtrang" msprop:Generator_ColumnPropNameInTable="tinhtrangColumn" msprop:Generator_UserColumnName="tinhtrang">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="id" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnid" msprop:Generator_ColumnPropNameInRow="id" msprop:Generator_ColumnPropNameInTable="idColumn" msprop:Generator_UserColumnName="id" type="xs:decimal" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="dmloaihangmuc" msprop:Generator_TableClassName="dmloaihangmucDataTable" msprop:Generator_TableVarName="tabledmloaihangmuc" msprop:Generator_TablePropName="dmloaihangmuc" msprop:Generator_RowDeletingName="dmloaihangmucRowDeleting" msprop:Generator_UserTableName="dmloaihangmuc" msprop:Generator_RowChangingName="dmloaihangmucRowChanging" msprop:Generator_RowEvHandlerName="dmloaihangmucRowChangeEventHandler" msprop:Generator_RowDeletedName="dmloaihangmucRowDeleted" msprop:Generator_RowEvArgName="dmloaihangmucRowChangeEvent" msprop:Generator_RowChangedName="dmloaihangmucRowChanged" msprop:Generator_RowClassName="dmloaihangmucRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ma" msprop:Generator_ColumnVarNameInTable="columnma" msprop:Generator_ColumnPropNameInRow="ma" msprop:Generator_ColumnPropNameInTable="maColumn" msprop:Generator_UserColumnName="ma">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ten" msprop:Generator_ColumnVarNameInTable="columnten" msprop:Generator_ColumnPropNameInRow="ten" msprop:Generator_ColumnPropNameInTable="tenColumn" msprop:Generator_UserColumnName="ten">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="500" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="chinhanh" msprop:Generator_ColumnVarNameInTable="columnchinhanh" msprop:Generator_ColumnPropNameInRow="chinhanh" msprop:Generator_ColumnPropNameInTable="chinhanhColumn" msprop:Generator_UserColumnName="chinhanh">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="tinhtrang" msprop:Generator_ColumnVarNameInTable="columntinhtrang" msprop:Generator_ColumnPropNameInRow="tinhtrang" msprop:Generator_ColumnPropNameInTable="tinhtrangColumn" msprop:Generator_UserColumnName="tinhtrang">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="id" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnid" msprop:Generator_ColumnPropNameInRow="id" msprop:Generator_ColumnPropNameInTable="idColumn" msprop:Generator_UserColumnName="id" type="xs:decimal" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="dmloaihaohut" msprop:Generator_TableClassName="dmloaihaohutDataTable" msprop:Generator_TableVarName="tabledmloaihaohut" msprop:Generator_TablePropName="dmloaihaohut" msprop:Generator_RowDeletingName="dmloaihaohutRowDeleting" msprop:Generator_UserTableName="dmloaihaohut" msprop:Generator_RowChangingName="dmloaihaohutRowChanging" msprop:Generator_RowEvHandlerName="dmloaihaohutRowChangeEventHandler" msprop:Generator_RowDeletedName="dmloaihaohutRowDeleted" msprop:Generator_RowEvArgName="dmloaihaohutRowChangeEvent" msprop:Generator_RowChangedName="dmloaihaohutRowChanged" msprop:Generator_RowClassName="dmloaihaohutRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ma" msprop:Generator_ColumnVarNameInTable="columnma" msprop:Generator_ColumnPropNameInRow="ma" msprop:Generator_ColumnPropNameInTable="maColumn" msprop:Generator_UserColumnName="ma">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ten" msprop:Generator_ColumnVarNameInTable="columnten" msprop:Generator_ColumnPropNameInRow="ten" msprop:Generator_ColumnPropNameInTable="tenColumn" msprop:Generator_UserColumnName="ten">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="500" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="chinhanh" msprop:Generator_ColumnVarNameInTable="columnchinhanh" msprop:Generator_ColumnPropNameInRow="chinhanh" msprop:Generator_ColumnPropNameInTable="chinhanhColumn" msprop:Generator_UserColumnName="chinhanh">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="tinhtrang" msprop:Generator_ColumnVarNameInTable="columntinhtrang" msprop:Generator_ColumnPropNameInRow="tinhtrang" msprop:Generator_ColumnPropNameInTable="tinhtrangColumn" msprop:Generator_UserColumnName="tinhtrang">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="id" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnid" msprop:Generator_ColumnPropNameInRow="id" msprop:Generator_ColumnPropNameInTable="idColumn" msprop:Generator_UserColumnName="id" type="xs:decimal" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="dmloaikhachhang" msprop:Generator_TableClassName="dmloaikhachhangDataTable" msprop:Generator_TableVarName="tabledmloaikhachhang" msprop:Generator_TablePropName="dmloaikhachhang" msprop:Generator_RowDeletingName="dmloaikhachhangRowDeleting" msprop:Generator_UserTableName="dmloaikhachhang" msprop:Generator_RowChangingName="dmloaikhachhangRowChanging" msprop:Generator_RowEvHandlerName="dmloaikhachhangRowChangeEventHandler" msprop:Generator_RowDeletedName="dmloaikhachhangRowDeleted" msprop:Generator_RowEvArgName="dmloaikhachhangRowChangeEvent" msprop:Generator_RowChangedName="dmloaikhachhangRowChanged" msprop:Generator_RowClassName="dmloaikhachhangRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ma" msprop:Generator_ColumnVarNameInTable="columnma" msprop:Generator_ColumnPropNameInRow="ma" msprop:Generator_ColumnPropNameInTable="maColumn" msprop:Generator_UserColumnName="ma">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ten" msprop:Generator_ColumnVarNameInTable="columnten" msprop:Generator_ColumnPropNameInRow="ten" msprop:Generator_ColumnPropNameInTable="tenColumn" msprop:Generator_UserColumnName="ten">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="500" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="chinhanh" msprop:Generator_ColumnVarNameInTable="columnchinhanh" msprop:Generator_ColumnPropNameInRow="chinhanh" msprop:Generator_ColumnPropNameInTable="chinhanhColumn" msprop:Generator_UserColumnName="chinhanh">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="tinhtrang" msprop:Generator_ColumnVarNameInTable="columntinhtrang" msprop:Generator_ColumnPropNameInRow="tinhtrang" msprop:Generator_ColumnPropNameInTable="tinhtrangColumn" msprop:Generator_UserColumnName="tinhtrang">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="id" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnid" msprop:Generator_ColumnPropNameInRow="id" msprop:Generator_ColumnPropNameInTable="idColumn" msprop:Generator_UserColumnName="id" type="xs:decimal" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="dmloaitaikhoan" msprop:Generator_TableClassName="dmloaitaikhoanDataTable" msprop:Generator_TableVarName="tabledmloaitaikhoan" msprop:Generator_TablePropName="dmloaitaikhoan" msprop:Generator_RowDeletingName="dmloaitaikhoanRowDeleting" msprop:Generator_UserTableName="dmloaitaikhoan" msprop:Generator_RowChangingName="dmloaitaikhoanRowChanging" msprop:Generator_RowEvHandlerName="dmloaitaikhoanRowChangeEventHandler" msprop:Generator_RowDeletedName="dmloaitaikhoanRowDeleted" msprop:Generator_RowEvArgName="dmloaitaikhoanRowChangeEvent" msprop:Generator_RowChangedName="dmloaitaikhoanRowChanged" msprop:Generator_RowClassName="dmloaitaikhoanRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ma" msprop:Generator_ColumnVarNameInTable="columnma" msprop:Generator_ColumnPropNameInRow="ma" msprop:Generator_ColumnPropNameInTable="maColumn" msprop:Generator_UserColumnName="ma">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ten" msprop:Generator_ColumnVarNameInTable="columnten" msprop:Generator_ColumnPropNameInRow="ten" msprop:Generator_ColumnPropNameInTable="tenColumn" msprop:Generator_UserColumnName="ten">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="500" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="chinhanh" msprop:Generator_ColumnVarNameInTable="columnchinhanh" msprop:Generator_ColumnPropNameInRow="chinhanh" msprop:Generator_ColumnPropNameInTable="chinhanhColumn" msprop:Generator_UserColumnName="chinhanh">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="tinhtrang" msprop:Generator_ColumnVarNameInTable="columntinhtrang" msprop:Generator_ColumnPropNameInRow="tinhtrang" msprop:Generator_ColumnPropNameInTable="tinhtrangColumn" msprop:Generator_UserColumnName="tinhtrang">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="id" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnid" msprop:Generator_ColumnPropNameInRow="id" msprop:Generator_ColumnPropNameInTable="idColumn" msprop:Generator_UserColumnName="id" type="xs:decimal" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="dmloaitien" msprop:Generator_TableClassName="dmloaitienDataTable" msprop:Generator_TableVarName="tabledmloaitien" msprop:Generator_TablePropName="dmloaitien" msprop:Generator_RowDeletingName="dmloaitienRowDeleting" msprop:Generator_UserTableName="dmloaitien" msprop:Generator_RowChangingName="dmloaitienRowChanging" msprop:Generator_RowEvHandlerName="dmloaitienRowChangeEventHandler" msprop:Generator_RowDeletedName="dmloaitienRowDeleted" msprop:Generator_RowEvArgName="dmloaitienRowChangeEvent" msprop:Generator_RowChangedName="dmloaitienRowChanged" msprop:Generator_RowClassName="dmloaitienRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ma" msprop:Generator_ColumnVarNameInTable="columnma" msprop:Generator_ColumnPropNameInRow="ma" msprop:Generator_ColumnPropNameInTable="maColumn" msprop:Generator_UserColumnName="ma">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ten" msprop:Generator_ColumnVarNameInTable="columnten" msprop:Generator_ColumnPropNameInRow="ten" msprop:Generator_ColumnPropNameInTable="tenColumn" msprop:Generator_UserColumnName="ten">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="500" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="chinhanh" msprop:Generator_ColumnVarNameInTable="columnchinhanh" msprop:Generator_ColumnPropNameInRow="chinhanh" msprop:Generator_ColumnPropNameInTable="chinhanhColumn" msprop:Generator_UserColumnName="chinhanh" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="tinhtrang" msprop:Generator_ColumnVarNameInTable="columntinhtrang" msprop:Generator_ColumnPropNameInRow="tinhtrang" msprop:Generator_ColumnPropNameInTable="tinhtrangColumn" msprop:Generator_UserColumnName="tinhtrang">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="id" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnid" msprop:Generator_ColumnPropNameInRow="id" msprop:Generator_ColumnPropNameInTable="idColumn" msprop:Generator_UserColumnName="id" type="xs:decimal" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="dmnganhang" msprop:Generator_TableClassName="dmnganhangDataTable" msprop:Generator_TableVarName="tabledmnganhang" msprop:Generator_TablePropName="dmnganhang" msprop:Generator_RowDeletingName="dmnganhangRowDeleting" msprop:Generator_UserTableName="dmnganhang" msprop:Generator_RowChangingName="dmnganhangRowChanging" msprop:Generator_RowEvHandlerName="dmnganhangRowChangeEventHandler" msprop:Generator_RowDeletedName="dmnganhangRowDeleted" msprop:Generator_RowEvArgName="dmnganhangRowChangeEvent" msprop:Generator_RowChangedName="dmnganhangRowChanged" msprop:Generator_RowClassName="dmnganhangRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ma" msprop:Generator_ColumnVarNameInTable="columnma" msprop:Generator_ColumnPropNameInRow="ma" msprop:Generator_ColumnPropNameInTable="maColumn" msprop:Generator_UserColumnName="ma">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ten" msprop:Generator_ColumnVarNameInTable="columnten" msprop:Generator_ColumnPropNameInRow="ten" msprop:Generator_ColumnPropNameInTable="tenColumn" msprop:Generator_UserColumnName="ten">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="500" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ghichu" msprop:Generator_ColumnVarNameInTable="columnghichu" msprop:Generator_ColumnPropNameInRow="ghichu" msprop:Generator_ColumnPropNameInTable="ghichuColumn" msprop:Generator_UserColumnName="ghichu" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="500" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="chinhanh" msprop:Generator_ColumnVarNameInTable="columnchinhanh" msprop:Generator_ColumnPropNameInRow="chinhanh" msprop:Generator_ColumnPropNameInTable="chinhanhColumn" msprop:Generator_UserColumnName="chinhanh" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="tinhtrang" msprop:Generator_ColumnVarNameInTable="columntinhtrang" msprop:Generator_ColumnPropNameInRow="tinhtrang" msprop:Generator_ColumnPropNameInTable="tinhtrangColumn" msprop:Generator_UserColumnName="tinhtrang">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="id" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnid" msprop:Generator_ColumnPropNameInRow="id" msprop:Generator_ColumnPropNameInTable="idColumn" msprop:Generator_UserColumnName="id" type="xs:decimal" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="dmnganhnghe" msprop:Generator_TableClassName="dmnganhngheDataTable" msprop:Generator_TableVarName="tabledmnganhnghe" msprop:Generator_TablePropName="dmnganhnghe" msprop:Generator_RowDeletingName="dmnganhngheRowDeleting" msprop:Generator_UserTableName="dmnganhnghe" msprop:Generator_RowChangingName="dmnganhngheRowChanging" msprop:Generator_RowEvHandlerName="dmnganhngheRowChangeEventHandler" msprop:Generator_RowDeletedName="dmnganhngheRowDeleted" msprop:Generator_RowEvArgName="dmnganhngheRowChangeEvent" msprop:Generator_RowChangedName="dmnganhngheRowChanged" msprop:Generator_RowClassName="dmnganhngheRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ma" msprop:Generator_ColumnVarNameInTable="columnma" msprop:Generator_ColumnPropNameInRow="ma" msprop:Generator_ColumnPropNameInTable="maColumn" msprop:Generator_UserColumnName="ma">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ten" msprop:Generator_ColumnVarNameInTable="columnten" msprop:Generator_ColumnPropNameInRow="ten" msprop:Generator_ColumnPropNameInTable="tenColumn" msprop:Generator_UserColumnName="ten">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="500" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="chinhanh" msprop:Generator_ColumnVarNameInTable="columnchinhanh" msprop:Generator_ColumnPropNameInRow="chinhanh" msprop:Generator_ColumnPropNameInTable="chinhanhColumn" msprop:Generator_UserColumnName="chinhanh" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="tinhtrang" msprop:Generator_ColumnVarNameInTable="columntinhtrang" msprop:Generator_ColumnPropNameInRow="tinhtrang" msprop:Generator_ColumnPropNameInTable="tinhtrangColumn" msprop:Generator_UserColumnName="tinhtrang">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="id" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnid" msprop:Generator_ColumnPropNameInRow="id" msprop:Generator_ColumnPropNameInTable="idColumn" msprop:Generator_UserColumnName="id" type="xs:decimal" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="dmnghiepvu" msprop:Generator_TableClassName="dmnghiepvuDataTable" msprop:Generator_TableVarName="tabledmnghiepvu" msprop:Generator_TablePropName="dmnghiepvu" msprop:Generator_RowDeletingName="dmnghiepvuRowDeleting" msprop:Generator_UserTableName="dmnghiepvu" msprop:Generator_RowChangingName="dmnghiepvuRowChanging" msprop:Generator_RowEvHandlerName="dmnghiepvuRowChangeEventHandler" msprop:Generator_RowDeletedName="dmnghiepvuRowDeleted" msprop:Generator_RowEvArgName="dmnghiepvuRowChangeEvent" msprop:Generator_RowChangedName="dmnghiepvuRowChanged" msprop:Generator_RowClassName="dmnghiepvuRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ma" msprop:Generator_ColumnVarNameInTable="columnma" msprop:Generator_ColumnPropNameInRow="ma" msprop:Generator_ColumnPropNameInTable="maColumn" msprop:Generator_UserColumnName="ma">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ten" msprop:Generator_ColumnVarNameInTable="columnten" msprop:Generator_ColumnPropNameInRow="ten" msprop:Generator_ColumnPropNameInTable="tenColumn" msprop:Generator_UserColumnName="ten">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="500" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="taikhoanno" msprop:Generator_ColumnVarNameInTable="columntaikhoanno" msprop:Generator_ColumnPropNameInRow="taikhoanno" msprop:Generator_ColumnPropNameInTable="taikhoannoColumn" msprop:Generator_UserColumnName="taikhoanno" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="taikhoanco" msprop:Generator_ColumnVarNameInTable="columntaikhoanco" msprop:Generator_ColumnPropNameInRow="taikhoanco" msprop:Generator_ColumnPropNameInTable="taikhoancoColumn" msprop:Generator_UserColumnName="taikhoanco" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="taikhoanvat" msprop:Generator_ColumnVarNameInTable="columntaikhoanvat" msprop:Generator_ColumnPropNameInRow="taikhoanvat" msprop:Generator_ColumnPropNameInTable="taikhoanvatColumn" msprop:Generator_UserColumnName="taikhoanvat" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="tylevat" msprop:Generator_ColumnVarNameInTable="columntylevat" msprop:Generator_ColumnPropNameInRow="tylevat" msprop:Generator_ColumnPropNameInTable="tylevatColumn" msprop:Generator_UserColumnName="tylevat" type="xs:int" minOccurs="0" />
              <xs:element name="loaikhachhang" msprop:Generator_ColumnVarNameInTable="columnloaikhachhang" msprop:Generator_ColumnPropNameInRow="loaikhachhang" msprop:Generator_ColumnPropNameInTable="loaikhachhangColumn" msprop:Generator_UserColumnName="loaikhachhang" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="phanhe" msprop:Generator_ColumnVarNameInTable="columnphanhe" msprop:Generator_ColumnPropNameInRow="phanhe" msprop:Generator_ColumnPropNameInTable="phanheColumn" msprop:Generator_UserColumnName="phanhe" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="loaichungtu" msprop:Generator_ColumnVarNameInTable="columnloaichungtu" msprop:Generator_ColumnPropNameInRow="loaichungtu" msprop:Generator_ColumnPropNameInTable="loaichungtuColumn" msprop:Generator_UserColumnName="loaichungtu" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="diengiai" msprop:Generator_ColumnVarNameInTable="columndiengiai" msprop:Generator_ColumnPropNameInRow="diengiai" msprop:Generator_ColumnPropNameInTable="diengiaiColumn" msprop:Generator_UserColumnName="diengiai" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="500" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="taikhoanlpxd" msprop:Generator_ColumnVarNameInTable="columntaikhoanlpxd" msprop:Generator_ColumnPropNameInRow="taikhoanlpxd" msprop:Generator_ColumnPropNameInTable="taikhoanlpxdColumn" msprop:Generator_UserColumnName="taikhoanlpxd" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="douutien" msprop:Generator_ColumnVarNameInTable="columndouutien" msprop:Generator_ColumnPropNameInRow="douutien" msprop:Generator_ColumnPropNameInTable="douutienColumn" msprop:Generator_UserColumnName="douutien" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="thuchihd" msprop:Generator_ColumnVarNameInTable="columnthuchihd" msprop:Generator_ColumnPropNameInRow="thuchihd" msprop:Generator_ColumnPropNameInTable="thuchihdColumn" msprop:Generator_UserColumnName="thuchihd" type="xs:boolean" minOccurs="0" />
              <xs:element name="phanhecongno" msprop:Generator_ColumnVarNameInTable="columnphanhecongno" msprop:Generator_ColumnPropNameInRow="phanhecongno" msprop:Generator_ColumnPropNameInTable="phanhecongnoColumn" msprop:Generator_UserColumnName="phanhecongno" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="makhoanmuc" msprop:Generator_ColumnVarNameInTable="columnmakhoanmuc" msprop:Generator_ColumnPropNameInRow="makhoanmuc" msprop:Generator_ColumnPropNameInTable="makhoanmucColumn" msprop:Generator_UserColumnName="makhoanmuc" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="chixuathoadon" msprop:Generator_ColumnVarNameInTable="columnchixuathoadon" msprop:Generator_ColumnPropNameInRow="chixuathoadon" msprop:Generator_ColumnPropNameInTable="chixuathoadonColumn" msprop:Generator_UserColumnName="chixuathoadon" type="xs:boolean" minOccurs="0" />
              <xs:element name="taikhoannobosung" msprop:Generator_ColumnVarNameInTable="columntaikhoannobosung" msprop:Generator_ColumnPropNameInRow="taikhoannobosung" msprop:Generator_ColumnPropNameInTable="taikhoannobosungColumn" msprop:Generator_UserColumnName="taikhoannobosung" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="taikhoancobosung" msprop:Generator_ColumnVarNameInTable="columntaikhoancobosung" msprop:Generator_ColumnPropNameInRow="taikhoancobosung" msprop:Generator_ColumnPropNameInTable="taikhoancobosungColumn" msprop:Generator_UserColumnName="taikhoancobosung" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="makhomacdinh" msprop:Generator_ColumnVarNameInTable="columnmakhomacdinh" msprop:Generator_ColumnPropNameInRow="makhomacdinh" msprop:Generator_ColumnPropNameInTable="makhomacdinhColumn" msprop:Generator_UserColumnName="makhomacdinh" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="chinhanh" msprop:Generator_ColumnVarNameInTable="columnchinhanh" msprop:Generator_ColumnPropNameInRow="chinhanh" msprop:Generator_ColumnPropNameInTable="chinhanhColumn" msprop:Generator_UserColumnName="chinhanh" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="tinhtrang" msprop:Generator_ColumnVarNameInTable="columntinhtrang" msprop:Generator_ColumnPropNameInRow="tinhtrang" msprop:Generator_ColumnPropNameInTable="tinhtrangColumn" msprop:Generator_UserColumnName="tinhtrang">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="id" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnid" msprop:Generator_ColumnPropNameInRow="id" msprop:Generator_ColumnPropNameInTable="idColumn" msprop:Generator_UserColumnName="id" type="xs:decimal" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="dmnguonluc" msprop:Generator_TableClassName="dmnguonlucDataTable" msprop:Generator_TableVarName="tabledmnguonluc" msprop:Generator_TablePropName="dmnguonluc" msprop:Generator_RowDeletingName="dmnguonlucRowDeleting" msprop:Generator_UserTableName="dmnguonluc" msprop:Generator_RowChangingName="dmnguonlucRowChanging" msprop:Generator_RowEvHandlerName="dmnguonlucRowChangeEventHandler" msprop:Generator_RowDeletedName="dmnguonlucRowDeleted" msprop:Generator_RowEvArgName="dmnguonlucRowChangeEvent" msprop:Generator_RowChangedName="dmnguonlucRowChanged" msprop:Generator_RowClassName="dmnguonlucRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ma" msprop:Generator_ColumnVarNameInTable="columnma" msprop:Generator_ColumnPropNameInRow="ma" msprop:Generator_ColumnPropNameInTable="maColumn" msprop:Generator_UserColumnName="ma">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ten" msprop:Generator_ColumnVarNameInTable="columnten" msprop:Generator_ColumnPropNameInRow="ten" msprop:Generator_ColumnPropNameInTable="tenColumn" msprop:Generator_UserColumnName="ten">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="500" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="taikhoan" msprop:Generator_ColumnVarNameInTable="columntaikhoan" msprop:Generator_ColumnPropNameInRow="taikhoan" msprop:Generator_ColumnPropNameInTable="taikhoanColumn" msprop:Generator_UserColumnName="taikhoan">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="khoanmuc" msprop:Generator_ColumnVarNameInTable="columnkhoanmuc" msprop:Generator_ColumnPropNameInRow="khoanmuc" msprop:Generator_ColumnPropNameInTable="khoanmucColumn" msprop:Generator_UserColumnName="khoanmuc">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="chinhanh" msprop:Generator_ColumnVarNameInTable="columnchinhanh" msprop:Generator_ColumnPropNameInRow="chinhanh" msprop:Generator_ColumnPropNameInTable="chinhanhColumn" msprop:Generator_UserColumnName="chinhanh" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="tinhtrang" msprop:Generator_ColumnVarNameInTable="columntinhtrang" msprop:Generator_ColumnPropNameInRow="tinhtrang" msprop:Generator_ColumnPropNameInTable="tinhtrangColumn" msprop:Generator_UserColumnName="tinhtrang">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="id" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnid" msprop:Generator_ColumnPropNameInRow="id" msprop:Generator_ColumnPropNameInTable="idColumn" msprop:Generator_UserColumnName="id" type="xs:decimal" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="dmnguonvon" msprop:Generator_TableClassName="dmnguonvonDataTable" msprop:Generator_TableVarName="tabledmnguonvon" msprop:Generator_TablePropName="dmnguonvon" msprop:Generator_RowDeletingName="dmnguonvonRowDeleting" msprop:Generator_UserTableName="dmnguonvon" msprop:Generator_RowChangingName="dmnguonvonRowChanging" msprop:Generator_RowEvHandlerName="dmnguonvonRowChangeEventHandler" msprop:Generator_RowDeletedName="dmnguonvonRowDeleted" msprop:Generator_RowEvArgName="dmnguonvonRowChangeEvent" msprop:Generator_RowChangedName="dmnguonvonRowChanged" msprop:Generator_RowClassName="dmnguonvonRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ma" msprop:Generator_ColumnVarNameInTable="columnma" msprop:Generator_ColumnPropNameInRow="ma" msprop:Generator_ColumnPropNameInTable="maColumn" msprop:Generator_UserColumnName="ma">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ten" msprop:Generator_ColumnVarNameInTable="columnten" msprop:Generator_ColumnPropNameInRow="ten" msprop:Generator_ColumnPropNameInTable="tenColumn" msprop:Generator_UserColumnName="ten">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="500" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="chinhanh" msprop:Generator_ColumnVarNameInTable="columnchinhanh" msprop:Generator_ColumnPropNameInRow="chinhanh" msprop:Generator_ColumnPropNameInTable="chinhanhColumn" msprop:Generator_UserColumnName="chinhanh" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="tinhtrang" msprop:Generator_ColumnVarNameInTable="columntinhtrang" msprop:Generator_ColumnPropNameInRow="tinhtrang" msprop:Generator_ColumnPropNameInTable="tinhtrangColumn" msprop:Generator_UserColumnName="tinhtrang">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="id" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnid" msprop:Generator_ColumnPropNameInRow="id" msprop:Generator_ColumnPropNameInTable="idColumn" msprop:Generator_UserColumnName="id" type="xs:decimal" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="dmnhanvienbanhang" msprop:Generator_TableClassName="dmnhanvienbanhangDataTable" msprop:Generator_TableVarName="tabledmnhanvienbanhang" msprop:Generator_TablePropName="dmnhanvienbanhang" msprop:Generator_RowDeletingName="dmnhanvienbanhangRowDeleting" msprop:Generator_UserTableName="dmnhanvienbanhang" msprop:Generator_RowChangingName="dmnhanvienbanhangRowChanging" msprop:Generator_RowEvHandlerName="dmnhanvienbanhangRowChangeEventHandler" msprop:Generator_RowDeletedName="dmnhanvienbanhangRowDeleted" msprop:Generator_RowEvArgName="dmnhanvienbanhangRowChangeEvent" msprop:Generator_RowChangedName="dmnhanvienbanhangRowChanged" msprop:Generator_RowClassName="dmnhanvienbanhangRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ma" msprop:Generator_ColumnVarNameInTable="columnma" msprop:Generator_ColumnPropNameInRow="ma" msprop:Generator_ColumnPropNameInTable="maColumn" msprop:Generator_UserColumnName="ma">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ten" msprop:Generator_ColumnVarNameInTable="columnten" msprop:Generator_ColumnPropNameInRow="ten" msprop:Generator_ColumnPropNameInTable="tenColumn" msprop:Generator_UserColumnName="ten">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="500" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="manhomnv" msprop:Generator_ColumnVarNameInTable="columnmanhomnv" msprop:Generator_ColumnPropNameInRow="manhomnv" msprop:Generator_ColumnPropNameInTable="manhomnvColumn" msprop:Generator_UserColumnName="manhomnv">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="masub" msprop:Generator_ColumnVarNameInTable="columnmasub" msprop:Generator_ColumnPropNameInRow="masub" msprop:Generator_ColumnPropNameInTable="masubColumn" msprop:Generator_UserColumnName="masub" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="chinhanh" msprop:Generator_ColumnVarNameInTable="columnchinhanh" msprop:Generator_ColumnPropNameInRow="chinhanh" msprop:Generator_ColumnPropNameInTable="chinhanhColumn" msprop:Generator_UserColumnName="chinhanh" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="tinhtrang" msprop:Generator_ColumnVarNameInTable="columntinhtrang" msprop:Generator_ColumnPropNameInRow="tinhtrang" msprop:Generator_ColumnPropNameInTable="tinhtrangColumn" msprop:Generator_UserColumnName="tinhtrang">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="id" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnid" msprop:Generator_ColumnPropNameInRow="id" msprop:Generator_ColumnPropNameInTable="idColumn" msprop:Generator_UserColumnName="id" type="xs:decimal" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="dmnhomnhanvien" msprop:Generator_TableClassName="dmnhomnhanvienDataTable" msprop:Generator_TableVarName="tabledmnhomnhanvien" msprop:Generator_TablePropName="dmnhomnhanvien" msprop:Generator_RowDeletingName="dmnhomnhanvienRowDeleting" msprop:Generator_UserTableName="dmnhomnhanvien" msprop:Generator_RowChangingName="dmnhomnhanvienRowChanging" msprop:Generator_RowEvHandlerName="dmnhomnhanvienRowChangeEventHandler" msprop:Generator_RowDeletedName="dmnhomnhanvienRowDeleted" msprop:Generator_RowEvArgName="dmnhomnhanvienRowChangeEvent" msprop:Generator_RowChangedName="dmnhomnhanvienRowChanged" msprop:Generator_RowClassName="dmnhomnhanvienRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ma" msprop:Generator_ColumnVarNameInTable="columnma" msprop:Generator_ColumnPropNameInRow="ma" msprop:Generator_ColumnPropNameInTable="maColumn" msprop:Generator_UserColumnName="ma">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ten" msprop:Generator_ColumnVarNameInTable="columnten" msprop:Generator_ColumnPropNameInRow="ten" msprop:Generator_ColumnPropNameInTable="tenColumn" msprop:Generator_UserColumnName="ten">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="500" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="chinhanh" msprop:Generator_ColumnVarNameInTable="columnchinhanh" msprop:Generator_ColumnPropNameInRow="chinhanh" msprop:Generator_ColumnPropNameInTable="chinhanhColumn" msprop:Generator_UserColumnName="chinhanh" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="tinhtrang" msprop:Generator_ColumnVarNameInTable="columntinhtrang" msprop:Generator_ColumnPropNameInRow="tinhtrang" msprop:Generator_ColumnPropNameInTable="tinhtrangColumn" msprop:Generator_UserColumnName="tinhtrang">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="id" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnid" msprop:Generator_ColumnPropNameInRow="id" msprop:Generator_ColumnPropNameInTable="idColumn" msprop:Generator_UserColumnName="id" type="xs:decimal" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="dmnhomvattu" msprop:Generator_TableClassName="dmnhomvattuDataTable" msprop:Generator_TableVarName="tabledmnhomvattu" msprop:Generator_TablePropName="dmnhomvattu" msprop:Generator_RowDeletingName="dmnhomvattuRowDeleting" msprop:Generator_UserTableName="dmnhomvattu" msprop:Generator_RowChangingName="dmnhomvattuRowChanging" msprop:Generator_RowEvHandlerName="dmnhomvattuRowChangeEventHandler" msprop:Generator_RowDeletedName="dmnhomvattuRowDeleted" msprop:Generator_RowEvArgName="dmnhomvattuRowChangeEvent" msprop:Generator_RowChangedName="dmnhomvattuRowChanged" msprop:Generator_RowClassName="dmnhomvattuRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ma" msprop:Generator_ColumnVarNameInTable="columnma" msprop:Generator_ColumnPropNameInRow="ma" msprop:Generator_ColumnPropNameInTable="maColumn" msprop:Generator_UserColumnName="ma">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ten" msprop:Generator_ColumnVarNameInTable="columnten" msprop:Generator_ColumnPropNameInRow="ten" msprop:Generator_ColumnPropNameInTable="tenColumn" msprop:Generator_UserColumnName="ten">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="500" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="chinhanh" msprop:Generator_ColumnVarNameInTable="columnchinhanh" msprop:Generator_ColumnPropNameInRow="chinhanh" msprop:Generator_ColumnPropNameInTable="chinhanhColumn" msprop:Generator_UserColumnName="chinhanh" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="tinhtrang" msprop:Generator_ColumnVarNameInTable="columntinhtrang" msprop:Generator_ColumnPropNameInRow="tinhtrang" msprop:Generator_ColumnPropNameInTable="tinhtrangColumn" msprop:Generator_UserColumnName="tinhtrang">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="id" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnid" msprop:Generator_ColumnPropNameInRow="id" msprop:Generator_ColumnPropNameInTable="idColumn" msprop:Generator_UserColumnName="id" type="xs:decimal" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="dmphongban" msprop:Generator_TableClassName="dmphongbanDataTable" msprop:Generator_TableVarName="tabledmphongban" msprop:Generator_TablePropName="dmphongban" msprop:Generator_RowDeletingName="dmphongbanRowDeleting" msprop:Generator_UserTableName="dmphongban" msprop:Generator_RowChangingName="dmphongbanRowChanging" msprop:Generator_RowEvHandlerName="dmphongbanRowChangeEventHandler" msprop:Generator_RowDeletedName="dmphongbanRowDeleted" msprop:Generator_RowEvArgName="dmphongbanRowChangeEvent" msprop:Generator_RowChangedName="dmphongbanRowChanged" msprop:Generator_RowClassName="dmphongbanRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ma" msprop:Generator_ColumnVarNameInTable="columnma" msprop:Generator_ColumnPropNameInRow="ma" msprop:Generator_ColumnPropNameInTable="maColumn" msprop:Generator_UserColumnName="ma">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ten" msprop:Generator_ColumnVarNameInTable="columnten" msprop:Generator_ColumnPropNameInRow="ten" msprop:Generator_ColumnPropNameInTable="tenColumn" msprop:Generator_UserColumnName="ten" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="500" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="maphongbancha" msprop:Generator_ColumnVarNameInTable="columnmaphongbancha" msprop:Generator_ColumnPropNameInRow="maphongbancha" msprop:Generator_ColumnPropNameInTable="maphongbanchaColumn" msprop:Generator_UserColumnName="maphongbancha" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="dienthoai" msprop:Generator_ColumnVarNameInTable="columndienthoai" msprop:Generator_ColumnPropNameInRow="dienthoai" msprop:Generator_ColumnPropNameInTable="dienthoaiColumn" msprop:Generator_UserColumnName="dienthoai" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="500" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="diachi" msprop:Generator_ColumnVarNameInTable="columndiachi" msprop:Generator_ColumnPropNameInRow="diachi" msprop:Generator_ColumnPropNameInTable="diachiColumn" msprop:Generator_UserColumnName="diachi" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="500" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ghichu" msprop:Generator_ColumnVarNameInTable="columnghichu" msprop:Generator_ColumnPropNameInRow="ghichu" msprop:Generator_ColumnPropNameInTable="ghichuColumn" msprop:Generator_UserColumnName="ghichu" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="500" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="chinhanh" msprop:Generator_ColumnVarNameInTable="columnchinhanh" msprop:Generator_ColumnPropNameInRow="chinhanh" msprop:Generator_ColumnPropNameInTable="chinhanhColumn" msprop:Generator_UserColumnName="chinhanh" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="tinhtrang" msprop:Generator_ColumnVarNameInTable="columntinhtrang" msprop:Generator_ColumnPropNameInRow="tinhtrang" msprop:Generator_ColumnPropNameInTable="tinhtrangColumn" msprop:Generator_UserColumnName="tinhtrang">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="id" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnid" msprop:Generator_ColumnPropNameInRow="id" msprop:Generator_ColumnPropNameInTable="idColumn" msprop:Generator_UserColumnName="id" type="xs:decimal" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="dmquocgia" msprop:Generator_TableClassName="dmquocgiaDataTable" msprop:Generator_TableVarName="tabledmquocgia" msprop:Generator_TablePropName="dmquocgia" msprop:Generator_RowDeletingName="dmquocgiaRowDeleting" msprop:Generator_UserTableName="dmquocgia" msprop:Generator_RowChangingName="dmquocgiaRowChanging" msprop:Generator_RowEvHandlerName="dmquocgiaRowChangeEventHandler" msprop:Generator_RowDeletedName="dmquocgiaRowDeleted" msprop:Generator_RowEvArgName="dmquocgiaRowChangeEvent" msprop:Generator_RowChangedName="dmquocgiaRowChanged" msprop:Generator_RowClassName="dmquocgiaRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ma" msprop:Generator_ColumnVarNameInTable="columnma" msprop:Generator_ColumnPropNameInRow="ma" msprop:Generator_ColumnPropNameInTable="maColumn" msprop:Generator_UserColumnName="ma">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ten" msprop:Generator_ColumnVarNameInTable="columnten" msprop:Generator_ColumnPropNameInRow="ten" msprop:Generator_ColumnPropNameInTable="tenColumn" msprop:Generator_UserColumnName="ten">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="500" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="chinhanh" msprop:Generator_ColumnVarNameInTable="columnchinhanh" msprop:Generator_ColumnPropNameInRow="chinhanh" msprop:Generator_ColumnPropNameInTable="chinhanhColumn" msprop:Generator_UserColumnName="chinhanh" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="tinhtrang" msprop:Generator_ColumnVarNameInTable="columntinhtrang" msprop:Generator_ColumnPropNameInRow="tinhtrang" msprop:Generator_ColumnPropNameInTable="tinhtrangColumn" msprop:Generator_UserColumnName="tinhtrang">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="id" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnid" msprop:Generator_ColumnPropNameInRow="id" msprop:Generator_ColumnPropNameInTable="idColumn" msprop:Generator_UserColumnName="id" type="xs:decimal" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="dmtaikhoannganhang" msprop:Generator_TableClassName="dmtaikhoannganhangDataTable" msprop:Generator_TableVarName="tabledmtaikhoannganhang" msprop:Generator_TablePropName="dmtaikhoannganhang" msprop:Generator_RowDeletingName="dmtaikhoannganhangRowDeleting" msprop:Generator_UserTableName="dmtaikhoannganhang" msprop:Generator_RowChangingName="dmtaikhoannganhangRowChanging" msprop:Generator_RowEvHandlerName="dmtaikhoannganhangRowChangeEventHandler" msprop:Generator_RowDeletedName="dmtaikhoannganhangRowDeleted" msprop:Generator_RowEvArgName="dmtaikhoannganhangRowChangeEvent" msprop:Generator_RowChangedName="dmtaikhoannganhangRowChanged" msprop:Generator_RowClassName="dmtaikhoannganhangRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ma" msprop:Generator_ColumnVarNameInTable="columnma" msprop:Generator_ColumnPropNameInRow="ma" msprop:Generator_ColumnPropNameInTable="maColumn" msprop:Generator_UserColumnName="ma">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="manganhang" msprop:Generator_ColumnVarNameInTable="columnmanganhang" msprop:Generator_ColumnPropNameInRow="manganhang" msprop:Generator_ColumnPropNameInTable="manganhangColumn" msprop:Generator_UserColumnName="manganhang">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="makhachhang" msprop:Generator_ColumnVarNameInTable="columnmakhachhang" msprop:Generator_ColumnPropNameInRow="makhachhang" msprop:Generator_ColumnPropNameInTable="makhachhangColumn" msprop:Generator_UserColumnName="makhachhang">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="noidung" msprop:Generator_ColumnVarNameInTable="columnnoidung" msprop:Generator_ColumnPropNameInRow="noidung" msprop:Generator_ColumnPropNameInTable="noidungColumn" msprop:Generator_UserColumnName="noidung" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="taikhoankt" msprop:Generator_ColumnVarNameInTable="columntaikhoankt" msprop:Generator_ColumnPropNameInRow="taikhoankt" msprop:Generator_ColumnPropNameInTable="taikhoanktColumn" msprop:Generator_UserColumnName="taikhoankt" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="matinh" msprop:Generator_ColumnVarNameInTable="columnmatinh" msprop:Generator_ColumnPropNameInRow="matinh" msprop:Generator_ColumnPropNameInTable="matinhColumn" msprop:Generator_UserColumnName="matinh">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="maloaitien" msprop:Generator_ColumnVarNameInTable="columnmaloaitien" msprop:Generator_ColumnPropNameInRow="maloaitien" msprop:Generator_ColumnPropNameInTable="maloaitienColumn" msprop:Generator_UserColumnName="maloaitien" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="chinhanh" msprop:Generator_ColumnVarNameInTable="columnchinhanh" msprop:Generator_ColumnPropNameInRow="chinhanh" msprop:Generator_ColumnPropNameInTable="chinhanhColumn" msprop:Generator_UserColumnName="chinhanh" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="tinhtrang" msprop:Generator_ColumnVarNameInTable="columntinhtrang" msprop:Generator_ColumnPropNameInRow="tinhtrang" msprop:Generator_ColumnPropNameInTable="tinhtrangColumn" msprop:Generator_UserColumnName="tinhtrang">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="id" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnid" msprop:Generator_ColumnPropNameInRow="id" msprop:Generator_ColumnPropNameInTable="idColumn" msprop:Generator_UserColumnName="id" type="xs:decimal" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="dmthoigian" msprop:Generator_TableClassName="dmthoigianDataTable" msprop:Generator_TableVarName="tabledmthoigian" msprop:Generator_TablePropName="dmthoigian" msprop:Generator_RowDeletingName="dmthoigianRowDeleting" msprop:Generator_UserTableName="dmthoigian" msprop:Generator_RowChangingName="dmthoigianRowChanging" msprop:Generator_RowEvHandlerName="dmthoigianRowChangeEventHandler" msprop:Generator_RowDeletedName="dmthoigianRowDeleted" msprop:Generator_RowEvArgName="dmthoigianRowChangeEvent" msprop:Generator_RowChangedName="dmthoigianRowChanged" msprop:Generator_RowClassName="dmthoigianRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ma" msprop:Generator_ColumnVarNameInTable="columnma" msprop:Generator_ColumnPropNameInRow="ma" msprop:Generator_ColumnPropNameInTable="maColumn" msprop:Generator_UserColumnName="ma">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ten" msprop:Generator_ColumnVarNameInTable="columnten" msprop:Generator_ColumnPropNameInRow="ten" msprop:Generator_ColumnPropNameInTable="tenColumn" msprop:Generator_UserColumnName="ten">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="500" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="id" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnid" msprop:Generator_ColumnPropNameInRow="id" msprop:Generator_ColumnPropNameInTable="idColumn" msprop:Generator_UserColumnName="id" type="xs:decimal" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="dmtinhtrang" msprop:Generator_TableClassName="dmtinhtrangDataTable" msprop:Generator_TableVarName="tabledmtinhtrang" msprop:Generator_TablePropName="dmtinhtrang" msprop:Generator_RowDeletingName="dmtinhtrangRowDeleting" msprop:Generator_UserTableName="dmtinhtrang" msprop:Generator_RowChangingName="dmtinhtrangRowChanging" msprop:Generator_RowEvHandlerName="dmtinhtrangRowChangeEventHandler" msprop:Generator_RowDeletedName="dmtinhtrangRowDeleted" msprop:Generator_RowEvArgName="dmtinhtrangRowChangeEvent" msprop:Generator_RowChangedName="dmtinhtrangRowChanged" msprop:Generator_RowClassName="dmtinhtrangRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ma" msprop:Generator_ColumnVarNameInTable="columnma" msprop:Generator_ColumnPropNameInRow="ma" msprop:Generator_ColumnPropNameInTable="maColumn" msprop:Generator_UserColumnName="ma">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ten" msprop:Generator_ColumnVarNameInTable="columnten" msprop:Generator_ColumnPropNameInRow="ten" msprop:Generator_ColumnPropNameInTable="tenColumn" msprop:Generator_UserColumnName="ten">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="200" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="dmtinhtrangphieu" msprop:Generator_TableClassName="dmtinhtrangphieuDataTable" msprop:Generator_TableVarName="tabledmtinhtrangphieu" msprop:Generator_TablePropName="dmtinhtrangphieu" msprop:Generator_RowDeletingName="dmtinhtrangphieuRowDeleting" msprop:Generator_UserTableName="dmtinhtrangphieu" msprop:Generator_RowChangingName="dmtinhtrangphieuRowChanging" msprop:Generator_RowEvHandlerName="dmtinhtrangphieuRowChangeEventHandler" msprop:Generator_RowDeletedName="dmtinhtrangphieuRowDeleted" msprop:Generator_RowEvArgName="dmtinhtrangphieuRowChangeEvent" msprop:Generator_RowChangedName="dmtinhtrangphieuRowChanged" msprop:Generator_RowClassName="dmtinhtrangphieuRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ma" msprop:Generator_ColumnVarNameInTable="columnma" msprop:Generator_ColumnPropNameInRow="ma" msprop:Generator_ColumnPropNameInTable="maColumn" msprop:Generator_UserColumnName="ma">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ten" msprop:Generator_ColumnVarNameInTable="columnten" msprop:Generator_ColumnPropNameInRow="ten" msprop:Generator_ColumnPropNameInTable="tenColumn" msprop:Generator_UserColumnName="ten">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="200" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="dmtrangthai" msprop:Generator_TableClassName="dmtrangthaiDataTable" msprop:Generator_TableVarName="tabledmtrangthai" msprop:Generator_TablePropName="dmtrangthai" msprop:Generator_RowDeletingName="dmtrangthaiRowDeleting" msprop:Generator_UserTableName="dmtrangthai" msprop:Generator_RowChangingName="dmtrangthaiRowChanging" msprop:Generator_RowEvHandlerName="dmtrangthaiRowChangeEventHandler" msprop:Generator_RowDeletedName="dmtrangthaiRowDeleted" msprop:Generator_RowEvArgName="dmtrangthaiRowChangeEvent" msprop:Generator_RowChangedName="dmtrangthaiRowChanged" msprop:Generator_RowClassName="dmtrangthaiRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ma" msprop:Generator_ColumnVarNameInTable="columnma" msprop:Generator_ColumnPropNameInRow="ma" msprop:Generator_ColumnPropNameInTable="maColumn" msprop:Generator_UserColumnName="ma">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ten" msprop:Generator_ColumnVarNameInTable="columnten" msprop:Generator_ColumnPropNameInRow="ten" msprop:Generator_ColumnPropNameInTable="tenColumn" msprop:Generator_UserColumnName="ten">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="200" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="id" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnid" msprop:Generator_ColumnPropNameInRow="id" msprop:Generator_ColumnPropNameInTable="idColumn" msprop:Generator_UserColumnName="id" type="xs:decimal" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="dmuynhiemchi" msprop:Generator_TableClassName="dmuynhiemchiDataTable" msprop:Generator_TableVarName="tabledmuynhiemchi" msprop:Generator_TablePropName="dmuynhiemchi" msprop:Generator_RowDeletingName="dmuynhiemchiRowDeleting" msprop:Generator_UserTableName="dmuynhiemchi" msprop:Generator_RowChangingName="dmuynhiemchiRowChanging" msprop:Generator_RowEvHandlerName="dmuynhiemchiRowChangeEventHandler" msprop:Generator_RowDeletedName="dmuynhiemchiRowDeleted" msprop:Generator_RowEvArgName="dmuynhiemchiRowChangeEvent" msprop:Generator_RowChangedName="dmuynhiemchiRowChanged" msprop:Generator_RowClassName="dmuynhiemchiRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ma" msprop:Generator_ColumnVarNameInTable="columnma" msprop:Generator_ColumnPropNameInRow="ma" msprop:Generator_ColumnPropNameInTable="maColumn" msprop:Generator_UserColumnName="ma">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ten" msprop:Generator_ColumnVarNameInTable="columnten" msprop:Generator_ColumnPropNameInRow="ten" msprop:Generator_ColumnPropNameInTable="tenColumn" msprop:Generator_UserColumnName="ten">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="500" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="tenreport" msprop:Generator_ColumnVarNameInTable="columntenreport" msprop:Generator_ColumnPropNameInRow="tenreport" msprop:Generator_ColumnPropNameInTable="tenreportColumn" msprop:Generator_UserColumnName="tenreport" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="chinhanh" msprop:Generator_ColumnVarNameInTable="columnchinhanh" msprop:Generator_ColumnPropNameInRow="chinhanh" msprop:Generator_ColumnPropNameInTable="chinhanhColumn" msprop:Generator_UserColumnName="chinhanh" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="tinhtrang" msprop:Generator_ColumnVarNameInTable="columntinhtrang" msprop:Generator_ColumnPropNameInRow="tinhtrang" msprop:Generator_ColumnPropNameInTable="tinhtrangColumn" msprop:Generator_UserColumnName="tinhtrang">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="id" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnid" msprop:Generator_ColumnPropNameInRow="id" msprop:Generator_ColumnPropNameInTable="idColumn" msprop:Generator_UserColumnName="id" type="xs:decimal" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="dmvattu" msprop:Generator_TableClassName="dmvattuDataTable" msprop:Generator_TableVarName="tabledmvattu" msprop:Generator_TablePropName="dmvattu" msprop:Generator_RowDeletingName="dmvattuRowDeleting" msprop:Generator_UserTableName="dmvattu" msprop:Generator_RowChangingName="dmvattuRowChanging" msprop:Generator_RowEvHandlerName="dmvattuRowChangeEventHandler" msprop:Generator_RowDeletedName="dmvattuRowDeleted" msprop:Generator_RowEvArgName="dmvattuRowChangeEvent" msprop:Generator_RowChangedName="dmvattuRowChanged" msprop:Generator_RowClassName="dmvattuRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ma" msprop:Generator_ColumnVarNameInTable="columnma" msprop:Generator_ColumnPropNameInRow="ma" msprop:Generator_ColumnPropNameInTable="maColumn" msprop:Generator_UserColumnName="ma">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ten1" msprop:Generator_ColumnVarNameInTable="columnten1" msprop:Generator_ColumnPropNameInRow="ten1" msprop:Generator_ColumnPropNameInTable="ten1Column" msprop:Generator_UserColumnName="ten1">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="500" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ten2" msprop:Generator_ColumnVarNameInTable="columnten2" msprop:Generator_ColumnPropNameInRow="ten2" msprop:Generator_ColumnPropNameInTable="ten2Column" msprop:Generator_UserColumnName="ten2" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="500" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ten3" msprop:Generator_ColumnVarNameInTable="columnten3" msprop:Generator_ColumnPropNameInRow="ten3" msprop:Generator_ColumnPropNameInTable="ten3Column" msprop:Generator_UserColumnName="ten3" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="500" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="dvt1" msprop:Generator_ColumnVarNameInTable="columndvt1" msprop:Generator_ColumnPropNameInRow="dvt1" msprop:Generator_ColumnPropNameInTable="dvt1Column" msprop:Generator_UserColumnName="dvt1">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="dvt2" msprop:Generator_ColumnVarNameInTable="columndvt2" msprop:Generator_ColumnPropNameInRow="dvt2" msprop:Generator_ColumnPropNameInTable="dvt2Column" msprop:Generator_UserColumnName="dvt2" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="manhom" msprop:Generator_ColumnVarNameInTable="columnmanhom" msprop:Generator_ColumnPropNameInRow="manhom" msprop:Generator_ColumnPropNameInTable="manhomColumn" msprop:Generator_UserColumnName="manhom" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="loaivt" msprop:Generator_ColumnVarNameInTable="columnloaivt" msprop:Generator_ColumnPropNameInRow="loaivt" msprop:Generator_ColumnPropNameInTable="loaivtColumn" msprop:Generator_UserColumnName="loaivt" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="thuevat" msprop:Generator_ColumnVarNameInTable="columnthuevat" msprop:Generator_ColumnPropNameInRow="thuevat" msprop:Generator_ColumnPropNameInTable="thuevatColumn" msprop:Generator_UserColumnName="thuevat" type="xs:decimal" minOccurs="0" />
              <xs:element name="sotaikhoanvat" msprop:Generator_ColumnVarNameInTable="columnsotaikhoanvat" msprop:Generator_ColumnPropNameInRow="sotaikhoanvat" msprop:Generator_ColumnPropNameInTable="sotaikhoanvatColumn" msprop:Generator_UserColumnName="sotaikhoanvat" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="heso" msprop:Generator_ColumnVarNameInTable="columnheso" msprop:Generator_ColumnPropNameInRow="heso" msprop:Generator_ColumnPropNameInTable="hesoColumn" msprop:Generator_UserColumnName="heso" type="xs:decimal" minOccurs="0" />
              <xs:element name="quicach" msprop:Generator_ColumnVarNameInTable="columnquicach" msprop:Generator_ColumnPropNameInRow="quicach" msprop:Generator_ColumnPropNameInTable="quicachColumn" msprop:Generator_UserColumnName="quicach" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="500" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="quydoikg" msprop:Generator_ColumnVarNameInTable="columnquydoikg" msprop:Generator_ColumnPropNameInRow="quydoikg" msprop:Generator_ColumnPropNameInTable="quydoikgColumn" msprop:Generator_UserColumnName="quydoikg" type="xs:decimal" minOccurs="0" />
              <xs:element name="thuettdb" msprop:Generator_ColumnVarNameInTable="columnthuettdb" msprop:Generator_ColumnPropNameInRow="thuettdb" msprop:Generator_ColumnPropNameInTable="thuettdbColumn" msprop:Generator_UserColumnName="thuettdb" type="xs:decimal" minOccurs="0" />
              <xs:element name="sotaikhoanttdv" msprop:Generator_ColumnVarNameInTable="columnsotaikhoanttdv" msprop:Generator_ColumnPropNameInRow="sotaikhoanttdv" msprop:Generator_ColumnPropNameInTable="sotaikhoanttdvColumn" msprop:Generator_UserColumnName="sotaikhoanttdv" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="taikhoangv" msprop:Generator_ColumnVarNameInTable="columntaikhoangv" msprop:Generator_ColumnPropNameInRow="taikhoangv" msprop:Generator_ColumnPropNameInTable="taikhoangvColumn" msprop:Generator_UserColumnName="taikhoangv" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="taikhoankho" msprop:Generator_ColumnVarNameInTable="columntaikhoankho" msprop:Generator_ColumnPropNameInRow="taikhoankho" msprop:Generator_ColumnPropNameInTable="taikhoankhoColumn" msprop:Generator_UserColumnName="taikhoankho" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="dungbom" msprop:Generator_ColumnVarNameInTable="columndungbom" msprop:Generator_ColumnPropNameInRow="dungbom" msprop:Generator_ColumnPropNameInTable="dungbomColumn" msprop:Generator_UserColumnName="dungbom" type="xs:boolean" minOccurs="0" />
              <xs:element name="songayhethan" msprop:Generator_ColumnVarNameInTable="columnsongayhethan" msprop:Generator_ColumnPropNameInRow="songayhethan" msprop:Generator_ColumnPropNameInTable="songayhethanColumn" msprop:Generator_UserColumnName="songayhethan" type="xs:int" minOccurs="0" />
              <xs:element name="songaytruochan" msprop:Generator_ColumnVarNameInTable="columnsongaytruochan" msprop:Generator_ColumnPropNameInRow="songaytruochan" msprop:Generator_ColumnPropNameInTable="songaytruochanColumn" msprop:Generator_UserColumnName="songaytruochan" type="xs:int" minOccurs="0" />
              <xs:element name="dungserial" msprop:Generator_ColumnVarNameInTable="columndungserial" msprop:Generator_ColumnPropNameInRow="dungserial" msprop:Generator_ColumnPropNameInTable="dungserialColumn" msprop:Generator_UserColumnName="dungserial" type="xs:boolean" minOccurs="0" />
              <xs:element name="songaychodoi" msprop:Generator_ColumnVarNameInTable="columnsongaychodoi" msprop:Generator_ColumnPropNameInRow="songaychodoi" msprop:Generator_ColumnPropNameInTable="songaychodoiColumn" msprop:Generator_UserColumnName="songaychodoi" type="xs:int" minOccurs="0" />
              <xs:element name="songaybaohanh" msprop:Generator_ColumnVarNameInTable="columnsongaybaohanh" msprop:Generator_ColumnPropNameInRow="songaybaohanh" msprop:Generator_ColumnPropNameInTable="songaybaohanhColumn" msprop:Generator_UserColumnName="songaybaohanh" type="xs:int" minOccurs="0" />
              <xs:element name="dientich" msprop:Generator_ColumnVarNameInTable="columndientich" msprop:Generator_ColumnPropNameInRow="dientich" msprop:Generator_ColumnPropNameInTable="dientichColumn" msprop:Generator_UserColumnName="dientich" type="xs:decimal" minOccurs="0" />
              <xs:element name="chieucao" msprop:Generator_ColumnVarNameInTable="columnchieucao" msprop:Generator_ColumnPropNameInRow="chieucao" msprop:Generator_ColumnPropNameInTable="chieucaoColumn" msprop:Generator_UserColumnName="chieucao" type="xs:decimal" minOccurs="0" />
              <xs:element name="thoigiannhaphang" msprop:Generator_ColumnVarNameInTable="columnthoigiannhaphang" msprop:Generator_ColumnPropNameInRow="thoigiannhaphang" msprop:Generator_ColumnPropNameInTable="thoigiannhaphangColumn" msprop:Generator_UserColumnName="thoigiannhaphang" type="xs:decimal" minOccurs="0" />
              <xs:element name="thoigiankiemnghiem" msprop:Generator_ColumnVarNameInTable="columnthoigiankiemnghiem" msprop:Generator_ColumnPropNameInRow="thoigiankiemnghiem" msprop:Generator_ColumnPropNameInTable="thoigiankiemnghiemColumn" msprop:Generator_UserColumnName="thoigiankiemnghiem" type="xs:decimal" minOccurs="0" />
              <xs:element name="thoigianxuly" msprop:Generator_ColumnVarNameInTable="columnthoigianxuly" msprop:Generator_ColumnPropNameInRow="thoigianxuly" msprop:Generator_ColumnPropNameInTable="thoigianxulyColumn" msprop:Generator_UserColumnName="thoigianxuly" type="xs:decimal" minOccurs="0" />
              <xs:element name="luukho" msprop:Generator_ColumnVarNameInTable="columnluukho" msprop:Generator_ColumnPropNameInRow="luukho" msprop:Generator_ColumnPropNameInTable="luukhoColumn" msprop:Generator_UserColumnName="luukho" type="xs:boolean" minOccurs="0" />
              <xs:element name="giaconngoai" msprop:Generator_ColumnVarNameInTable="columngiaconngoai" msprop:Generator_ColumnPropNameInRow="giaconngoai" msprop:Generator_ColumnPropNameInTable="giaconngoaiColumn" msprop:Generator_UserColumnName="giaconngoai" type="xs:boolean" minOccurs="0" />
              <xs:element name="mavach" msprop:Generator_ColumnVarNameInTable="columnmavach" msprop:Generator_ColumnPropNameInRow="mavach" msprop:Generator_ColumnPropNameInTable="mavachColumn" msprop:Generator_UserColumnName="mavach" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="macu" msprop:Generator_ColumnVarNameInTable="columnmacu" msprop:Generator_ColumnPropNameInRow="macu" msprop:Generator_ColumnPropNameInTable="macuColumn" msprop:Generator_UserColumnName="macu" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="motakhac" msprop:Generator_ColumnVarNameInTable="columnmotakhac" msprop:Generator_ColumnPropNameInRow="motakhac" msprop:Generator_ColumnPropNameInTable="motakhacColumn" msprop:Generator_UserColumnName="motakhac" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="500" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="donvitinhphu" msprop:Generator_ColumnVarNameInTable="columndonvitinhphu" msprop:Generator_ColumnPropNameInRow="donvitinhphu" msprop:Generator_ColumnPropNameInTable="donvitinhphuColumn" msprop:Generator_UserColumnName="donvitinhphu" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="model" msprop:Generator_ColumnVarNameInTable="columnmodel" msprop:Generator_ColumnPropNameInRow="model" msprop:Generator_ColumnPropNameInTable="modelColumn" msprop:Generator_UserColumnName="model" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="tilequidoi" msprop:Generator_ColumnVarNameInTable="columntilequidoi" msprop:Generator_ColumnPropNameInRow="tilequidoi" msprop:Generator_ColumnPropNameInTable="tilequidoiColumn" msprop:Generator_UserColumnName="tilequidoi" type="xs:decimal" minOccurs="0" />
              <xs:element name="maxuong" msprop:Generator_ColumnVarNameInTable="columnmaxuong" msprop:Generator_ColumnPropNameInRow="maxuong" msprop:Generator_ColumnPropNameInTable="maxuongColumn" msprop:Generator_UserColumnName="maxuong" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="chitieuhamluong" msprop:Generator_ColumnVarNameInTable="columnchitieuhamluong" msprop:Generator_ColumnPropNameInRow="chitieuhamluong" msprop:Generator_ColumnPropNameInTable="chitieuhamluongColumn" msprop:Generator_UserColumnName="chitieuhamluong" type="xs:decimal" minOccurs="0" />
              <xs:element name="dvthamluong" msprop:Generator_ColumnVarNameInTable="columndvthamluong" msprop:Generator_ColumnPropNameInRow="dvthamluong" msprop:Generator_ColumnPropNameInTable="dvthamluongColumn" msprop:Generator_UserColumnName="dvthamluong" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="chitieudoam" msprop:Generator_ColumnVarNameInTable="columnchitieudoam" msprop:Generator_ColumnPropNameInRow="chitieudoam" msprop:Generator_ColumnPropNameInTable="chitieudoamColumn" msprop:Generator_UserColumnName="chitieudoam" type="xs:decimal" minOccurs="0" />
              <xs:element name="dvtdoam" msprop:Generator_ColumnVarNameInTable="columndvtdoam" msprop:Generator_ColumnPropNameInRow="dvtdoam" msprop:Generator_ColumnPropNameInTable="dvtdoamColumn" msprop:Generator_UserColumnName="dvtdoam" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="mancc" msprop:Generator_ColumnVarNameInTable="columnmancc" msprop:Generator_ColumnPropNameInRow="mancc" msprop:Generator_ColumnPropNameInTable="manccColumn" msprop:Generator_UserColumnName="mancc" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="maloaibaobi" msprop:Generator_ColumnVarNameInTable="columnmaloaibaobi" msprop:Generator_ColumnPropNameInRow="maloaibaobi" msprop:Generator_ColumnPropNameInTable="maloaibaobiColumn" msprop:Generator_UserColumnName="maloaibaobi" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="mabanthanhpham" msprop:Generator_ColumnVarNameInTable="columnmabanthanhpham" msprop:Generator_ColumnPropNameInRow="mabanthanhpham" msprop:Generator_ColumnPropNameInTable="mabanthanhphamColumn" msprop:Generator_UserColumnName="mabanthanhpham" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="tyle" msprop:Generator_ColumnVarNameInTable="columntyle" msprop:Generator_ColumnPropNameInRow="tyle" msprop:Generator_ColumnPropNameInTable="tyleColumn" msprop:Generator_UserColumnName="tyle" type="xs:decimal" minOccurs="0" />
              <xs:element name="machatluong" msprop:Generator_ColumnVarNameInTable="columnmachatluong" msprop:Generator_ColumnPropNameInRow="machatluong" msprop:Generator_ColumnPropNameInTable="machatluongColumn" msprop:Generator_UserColumnName="machatluong" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="taduoc" msprop:Generator_ColumnVarNameInTable="columntaduoc" msprop:Generator_ColumnPropNameInRow="taduoc" msprop:Generator_ColumnPropNameInTable="taduocColumn" msprop:Generator_UserColumnName="taduoc" type="xs:boolean" minOccurs="0" />
              <xs:element name="sodangky" msprop:Generator_ColumnVarNameInTable="columnsodangky" msprop:Generator_ColumnPropNameInRow="sodangky" msprop:Generator_ColumnPropNameInTable="sodangkyColumn" msprop:Generator_UserColumnName="sodangky" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="tieuchuanchatluong" msprop:Generator_ColumnVarNameInTable="columntieuchuanchatluong" msprop:Generator_ColumnPropNameInRow="tieuchuanchatluong" msprop:Generator_ColumnPropNameInTable="tieuchuanchatluongColumn" msprop:Generator_UserColumnName="tieuchuanchatluong" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="500" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="trongluonggop" msprop:Generator_ColumnVarNameInTable="columntrongluonggop" msprop:Generator_ColumnPropNameInRow="trongluonggop" msprop:Generator_ColumnPropNameInTable="trongluonggopColumn" msprop:Generator_UserColumnName="trongluonggop" type="xs:decimal" minOccurs="0" />
              <xs:element name="khoiluongtinh" msprop:Generator_ColumnVarNameInTable="columnkhoiluongtinh" msprop:Generator_ColumnPropNameInRow="khoiluongtinh" msprop:Generator_ColumnPropNameInTable="khoiluongtinhColumn" msprop:Generator_UserColumnName="khoiluongtinh" type="xs:decimal" minOccurs="0" />
              <xs:element name="khomacdinh" msprop:Generator_ColumnVarNameInTable="columnkhomacdinh" msprop:Generator_ColumnPropNameInRow="khomacdinh" msprop:Generator_ColumnPropNameInTable="khomacdinhColumn" msprop:Generator_UserColumnName="khomacdinh" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="khoiluongdvsx" msprop:Generator_ColumnVarNameInTable="columnkhoiluongdvsx" msprop:Generator_ColumnPropNameInRow="khoiluongdvsx" msprop:Generator_ColumnPropNameInTable="khoiluongdvsxColumn" msprop:Generator_UserColumnName="khoiluongdvsx" type="xs:decimal" minOccurs="0" />
              <xs:element name="cokiemnghiem" msprop:Generator_ColumnVarNameInTable="columncokiemnghiem" msprop:Generator_ColumnPropNameInRow="cokiemnghiem" msprop:Generator_ColumnPropNameInTable="cokiemnghiemColumn" msprop:Generator_UserColumnName="cokiemnghiem" type="xs:boolean" minOccurs="0" />
              <xs:element name="cosudunghandung" msprop:Generator_ColumnVarNameInTable="columncosudunghandung" msprop:Generator_ColumnPropNameInRow="cosudunghandung" msprop:Generator_ColumnPropNameInTable="cosudunghandungColumn" msprop:Generator_UserColumnName="cosudunghandung" type="xs:boolean" minOccurs="0" />
              <xs:element name="handung" msprop:Generator_ColumnVarNameInTable="columnhandung" msprop:Generator_ColumnPropNameInRow="handung" msprop:Generator_ColumnPropNameInTable="handungColumn" msprop:Generator_UserColumnName="handung" type="xs:dateTime" minOccurs="0" />
              <xs:element name="chinhanh" msprop:Generator_ColumnVarNameInTable="columnchinhanh" msprop:Generator_ColumnPropNameInRow="chinhanh" msprop:Generator_ColumnPropNameInTable="chinhanhColumn" msprop:Generator_UserColumnName="chinhanh" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="tinhtrang" msprop:Generator_ColumnVarNameInTable="columntinhtrang" msprop:Generator_ColumnPropNameInRow="tinhtrang" msprop:Generator_ColumnPropNameInTable="tinhtrangColumn" msprop:Generator_UserColumnName="tinhtrang">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="id" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnid" msprop:Generator_ColumnPropNameInRow="id" msprop:Generator_ColumnPropNameInTable="idColumn" msprop:Generator_UserColumnName="id" type="xs:decimal" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="form" msprop:Generator_TableClassName="formDataTable" msprop:Generator_TableVarName="tableform" msprop:Generator_TablePropName="form" msprop:Generator_RowDeletingName="formRowDeleting" msprop:Generator_UserTableName="form" msprop:Generator_RowChangingName="formRowChanging" msprop:Generator_RowEvHandlerName="formRowChangeEventHandler" msprop:Generator_RowDeletedName="formRowDeleted" msprop:Generator_RowEvArgName="formRowChangeEvent" msprop:Generator_RowChangedName="formRowChanged" msprop:Generator_RowClassName="formRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ma" msprop:Generator_ColumnVarNameInTable="columnma" msprop:Generator_ColumnPropNameInRow="ma" msprop:Generator_ColumnPropNameInTable="maColumn" msprop:Generator_UserColumnName="ma">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ten" msprop:Generator_ColumnVarNameInTable="columnten" msprop:Generator_ColumnPropNameInRow="ten" msprop:Generator_ColumnPropNameInTable="tenColumn" msprop:Generator_UserColumnName="ten">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="500" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="tentienganh" msprop:Generator_ColumnVarNameInTable="columntentienganh" msprop:Generator_ColumnPropNameInRow="tentienganh" msprop:Generator_ColumnPropNameInTable="tentienganhColumn" msprop:Generator_UserColumnName="tentienganh">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="500" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ghichu" msprop:Generator_ColumnVarNameInTable="columnghichu" msprop:Generator_ColumnPropNameInRow="ghichu" msprop:Generator_ColumnPropNameInTable="ghichuColumn" msprop:Generator_UserColumnName="ghichu" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="500" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="id" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnid" msprop:Generator_ColumnPropNameInRow="id" msprop:Generator_ColumnPropNameInTable="idColumn" msprop:Generator_UserColumnName="id" type="xs:decimal" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="formitem" msprop:Generator_TableClassName="formitemDataTable" msprop:Generator_TableVarName="tableformitem" msprop:Generator_TablePropName="formitem" msprop:Generator_RowDeletingName="formitemRowDeleting" msprop:Generator_UserTableName="formitem" msprop:Generator_RowChangingName="formitemRowChanging" msprop:Generator_RowEvHandlerName="formitemRowChangeEventHandler" msprop:Generator_RowDeletedName="formitemRowDeleted" msprop:Generator_RowEvArgName="formitemRowChangeEvent" msprop:Generator_RowChangedName="formitemRowChanged" msprop:Generator_RowClassName="formitemRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="maform" msprop:Generator_ColumnVarNameInTable="columnmaform" msprop:Generator_ColumnPropNameInRow="maform" msprop:Generator_ColumnPropNameInTable="maformColumn" msprop:Generator_UserColumnName="maform">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ma" msprop:Generator_ColumnVarNameInTable="columnma" msprop:Generator_ColumnPropNameInRow="ma" msprop:Generator_ColumnPropNameInTable="maColumn" msprop:Generator_UserColumnName="ma">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ten" msprop:Generator_ColumnVarNameInTable="columnten" msprop:Generator_ColumnPropNameInRow="ten" msprop:Generator_ColumnPropNameInTable="tenColumn" msprop:Generator_UserColumnName="ten">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="500" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ghichu" msprop:Generator_ColumnVarNameInTable="columnghichu" msprop:Generator_ColumnPropNameInRow="ghichu" msprop:Generator_ColumnPropNameInTable="ghichuColumn" msprop:Generator_UserColumnName="ghichu" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="500" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="id" msprop:Generator_ColumnVarNameInTable="columnid" msprop:Generator_ColumnPropNameInRow="id" msprop:Generator_ColumnPropNameInTable="idColumn" msprop:Generator_UserColumnName="id" type="xs:decimal" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="httiento" msprop:Generator_TableClassName="httientoDataTable" msprop:Generator_TableVarName="tablehttiento" msprop:Generator_TablePropName="httiento" msprop:Generator_RowDeletingName="httientoRowDeleting" msprop:Generator_UserTableName="httiento" msprop:Generator_RowChangingName="httientoRowChanging" msprop:Generator_RowEvHandlerName="httientoRowChangeEventHandler" msprop:Generator_RowDeletedName="httientoRowDeleted" msprop:Generator_RowEvArgName="httientoRowChangeEvent" msprop:Generator_RowChangedName="httientoRowChanged" msprop:Generator_RowClassName="httientoRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="tenbang" msprop:Generator_ColumnVarNameInTable="columntenbang" msprop:Generator_ColumnPropNameInRow="tenbang" msprop:Generator_ColumnPropNameInTable="tenbangColumn" msprop:Generator_UserColumnName="tenbang">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="tiento" msprop:Generator_ColumnVarNameInTable="columntiento" msprop:Generator_ColumnPropNameInRow="tiento" msprop:Generator_ColumnPropNameInTable="tientoColumn" msprop:Generator_UserColumnName="tiento">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="id" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnid" msprop:Generator_ColumnPropNameInRow="id" msprop:Generator_ColumnPropNameInTable="idColumn" msprop:Generator_UserColumnName="id" type="xs:decimal" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="ketoannganhang" msprop:Generator_TableClassName="ketoannganhangDataTable" msprop:Generator_TableVarName="tableketoannganhang" msprop:Generator_TablePropName="ketoannganhang" msprop:Generator_RowDeletingName="ketoannganhangRowDeleting" msprop:Generator_UserTableName="ketoannganhang" msprop:Generator_RowChangingName="ketoannganhangRowChanging" msprop:Generator_RowEvHandlerName="ketoannganhangRowChangeEventHandler" msprop:Generator_RowDeletedName="ketoannganhangRowDeleted" msprop:Generator_RowEvArgName="ketoannganhangRowChangeEvent" msprop:Generator_RowChangedName="ketoannganhangRowChanged" msprop:Generator_RowClassName="ketoannganhangRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ma" msprop:Generator_ColumnVarNameInTable="columnma" msprop:Generator_ColumnPropNameInRow="ma" msprop:Generator_ColumnPropNameInTable="maColumn" msprop:Generator_UserColumnName="ma">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="nghiepvu" msprop:Generator_ColumnVarNameInTable="columnnghiepvu" msprop:Generator_ColumnPropNameInRow="nghiepvu" msprop:Generator_ColumnPropNameInTable="nghiepvuColumn" msprop:Generator_UserColumnName="nghiepvu" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="sochungtu" msprop:Generator_ColumnVarNameInTable="columnsochungtu" msprop:Generator_ColumnPropNameInRow="sochungtu" msprop:Generator_ColumnPropNameInTable="sochungtuColumn" msprop:Generator_UserColumnName="sochungtu" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ngaylap" msprop:Generator_ColumnVarNameInTable="columnngaylap" msprop:Generator_ColumnPropNameInRow="ngaylap" msprop:Generator_ColumnPropNameInTable="ngaylapColumn" msprop:Generator_UserColumnName="ngaylap" type="xs:dateTime" minOccurs="0" />
              <xs:element name="hoten" msprop:Generator_ColumnVarNameInTable="columnhoten" msprop:Generator_ColumnPropNameInRow="hoten" msprop:Generator_ColumnPropNameInTable="hotenColumn" msprop:Generator_UserColumnName="hoten" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="200" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="bophan" msprop:Generator_ColumnVarNameInTable="columnbophan" msprop:Generator_ColumnPropNameInRow="bophan" msprop:Generator_ColumnPropNameInTable="bophanColumn" msprop:Generator_UserColumnName="bophan" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="nganhang" msprop:Generator_ColumnVarNameInTable="columnnganhang" msprop:Generator_ColumnPropNameInRow="nganhang" msprop:Generator_ColumnPropNameInTable="nganhangColumn" msprop:Generator_UserColumnName="nganhang" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="taikhoan" msprop:Generator_ColumnVarNameInTable="columntaikhoan" msprop:Generator_ColumnPropNameInRow="taikhoan" msprop:Generator_ColumnPropNameInTable="taikhoanColumn" msprop:Generator_UserColumnName="taikhoan" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="noidung" msprop:Generator_ColumnVarNameInTable="columnnoidung" msprop:Generator_ColumnPropNameInRow="noidung" msprop:Generator_ColumnPropNameInTable="noidungColumn" msprop:Generator_UserColumnName="noidung" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="thamchieu" msprop:Generator_ColumnVarNameInTable="columnthamchieu" msprop:Generator_ColumnPropNameInRow="thamchieu" msprop:Generator_ColumnPropNameInTable="thamchieuColumn" msprop:Generator_UserColumnName="thamchieu" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="chungtukem" msprop:Generator_ColumnVarNameInTable="columnchungtukem" msprop:Generator_ColumnPropNameInRow="chungtukem" msprop:Generator_ColumnPropNameInTable="chungtukemColumn" msprop:Generator_UserColumnName="chungtukem" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="500" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="loaitien" msprop:Generator_ColumnVarNameInTable="columnloaitien" msprop:Generator_ColumnPropNameInRow="loaitien" msprop:Generator_ColumnPropNameInTable="loaitienColumn" msprop:Generator_UserColumnName="loaitien" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="tygia" msprop:Generator_ColumnVarNameInTable="columntygia" msprop:Generator_ColumnPropNameInRow="tygia" msprop:Generator_ColumnPropNameInTable="tygiaColumn" msprop:Generator_UserColumnName="tygia" type="xs:decimal" />
              <xs:element name="nguyente" msprop:Generator_ColumnVarNameInTable="columnnguyente" msprop:Generator_ColumnPropNameInRow="nguyente" msprop:Generator_ColumnPropNameInTable="nguyenteColumn" msprop:Generator_UserColumnName="nguyente" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="tienvnd" msprop:Generator_ColumnVarNameInTable="columntienvnd" msprop:Generator_ColumnPropNameInRow="tienvnd" msprop:Generator_ColumnPropNameInTable="tienvndColumn" msprop:Generator_UserColumnName="tienvnd" type="xs:decimal" />
              <xs:element name="tinhtrang" msprop:Generator_ColumnVarNameInTable="columntinhtrang" msprop:Generator_ColumnPropNameInRow="tinhtrang" msprop:Generator_ColumnPropNameInTable="tinhtrangColumn" msprop:Generator_UserColumnName="tinhtrang" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="chinhanh" msprop:Generator_ColumnVarNameInTable="columnchinhanh" msprop:Generator_ColumnPropNameInRow="chinhanh" msprop:Generator_ColumnPropNameInTable="chinhanhColumn" msprop:Generator_UserColumnName="chinhanh" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="id" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnid" msprop:Generator_ColumnPropNameInRow="id" msprop:Generator_ColumnPropNameInTable="idColumn" msprop:Generator_UserColumnName="id" type="xs:decimal" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="ketoannganhangchitiet" msprop:Generator_TableClassName="ketoannganhangchitietDataTable" msprop:Generator_TableVarName="tableketoannganhangchitiet" msprop:Generator_TablePropName="ketoannganhangchitiet" msprop:Generator_RowDeletingName="ketoannganhangchitietRowDeleting" msprop:Generator_UserTableName="ketoannganhangchitiet" msprop:Generator_RowChangingName="ketoannganhangchitietRowChanging" msprop:Generator_RowEvHandlerName="ketoannganhangchitietRowChangeEventHandler" msprop:Generator_RowDeletedName="ketoannganhangchitietRowDeleted" msprop:Generator_RowEvArgName="ketoannganhangchitietRowChangeEvent" msprop:Generator_RowChangedName="ketoannganhangchitietRowChanged" msprop:Generator_RowClassName="ketoannganhangchitietRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ma" msprop:Generator_ColumnVarNameInTable="columnma" msprop:Generator_ColumnPropNameInRow="ma" msprop:Generator_ColumnPropNameInTable="maColumn" msprop:Generator_UserColumnName="ma">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="taikhoanno" msprop:Generator_ColumnVarNameInTable="columntaikhoanno" msprop:Generator_ColumnPropNameInRow="taikhoanno" msprop:Generator_ColumnPropNameInTable="taikhoannoColumn" msprop:Generator_UserColumnName="taikhoanno" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="taikhoanco" msprop:Generator_ColumnVarNameInTable="columntaikhoanco" msprop:Generator_ColumnPropNameInRow="taikhoanco" msprop:Generator_ColumnPropNameInTable="taikhoancoColumn" msprop:Generator_UserColumnName="taikhoanco" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="nguyente" msprop:Generator_ColumnVarNameInTable="columnnguyente" msprop:Generator_ColumnPropNameInRow="nguyente" msprop:Generator_ColumnPropNameInTable="nguyenteColumn" msprop:Generator_UserColumnName="nguyente" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="tienvnd" msprop:Generator_ColumnVarNameInTable="columntienvnd" msprop:Generator_ColumnPropNameInRow="tienvnd" msprop:Generator_ColumnPropNameInTable="tienvndColumn" msprop:Generator_UserColumnName="tienvnd" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="diengiai" msprop:Generator_ColumnVarNameInTable="columndiengiai" msprop:Generator_ColumnPropNameInRow="diengiai" msprop:Generator_ColumnPropNameInTable="diengiaiColumn" msprop:Generator_UserColumnName="diengiai" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="500" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="khachhang" msprop:Generator_ColumnVarNameInTable="columnkhachhang" msprop:Generator_ColumnPropNameInRow="khachhang" msprop:Generator_ColumnPropNameInTable="khachhangColumn" msprop:Generator_UserColumnName="khachhang" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="sohopdong" msprop:Generator_ColumnVarNameInTable="columnsohopdong" msprop:Generator_ColumnPropNameInRow="sohopdong" msprop:Generator_ColumnPropNameInTable="sohopdongColumn" msprop:Generator_UserColumnName="sohopdong" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ngay" msprop:Generator_ColumnVarNameInTable="columnngay" msprop:Generator_ColumnPropNameInRow="ngay" msprop:Generator_ColumnPropNameInTable="ngayColumn" msprop:Generator_UserColumnName="ngay" type="xs:dateTime" minOccurs="0" />
              <xs:element name="khoanmuc" msprop:Generator_ColumnVarNameInTable="columnkhoanmuc" msprop:Generator_ColumnPropNameInRow="khoanmuc" msprop:Generator_ColumnPropNameInTable="khoanmucColumn" msprop:Generator_UserColumnName="khoanmuc" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="phongban" msprop:Generator_ColumnVarNameInTable="columnphongban" msprop:Generator_ColumnPropNameInRow="phongban" msprop:Generator_ColumnPropNameInTable="phongbanColumn" msprop:Generator_UserColumnName="phongban" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="hangmuc" msprop:Generator_ColumnVarNameInTable="columnhangmuc" msprop:Generator_ColumnPropNameInRow="hangmuc" msprop:Generator_ColumnPropNameInTable="hangmucColumn" msprop:Generator_UserColumnName="hangmuc" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="hopdong" msprop:Generator_ColumnVarNameInTable="columnhopdong" msprop:Generator_ColumnPropNameInRow="hopdong" msprop:Generator_ColumnPropNameInTable="hopdongColumn" msprop:Generator_UserColumnName="hopdong" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="nguonvon" msprop:Generator_ColumnVarNameInTable="columnnguonvon" msprop:Generator_ColumnPropNameInRow="nguonvon" msprop:Generator_ColumnPropNameInTable="nguonvonColumn" msprop:Generator_UserColumnName="nguonvon" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="sohoadon" msprop:Generator_ColumnVarNameInTable="columnsohoadon" msprop:Generator_ColumnPropNameInRow="sohoadon" msprop:Generator_ColumnPropNameInTable="sohoadonColumn" msprop:Generator_UserColumnName="sohoadon" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="soserial" msprop:Generator_ColumnVarNameInTable="columnsoserial" msprop:Generator_ColumnPropNameInRow="soserial" msprop:Generator_ColumnPropNameInTable="soserialColumn" msprop:Generator_UserColumnName="soserial" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="loaihoadon" msprop:Generator_ColumnVarNameInTable="columnloaihoadon" msprop:Generator_ColumnPropNameInRow="loaihoadon" msprop:Generator_ColumnPropNameInTable="loaihoadonColumn" msprop:Generator_UserColumnName="loaihoadon" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ngayhoadon" msprop:Generator_ColumnVarNameInTable="columnngayhoadon" msprop:Generator_ColumnPropNameInRow="ngayhoadon" msprop:Generator_ColumnPropNameInTable="ngayhoadonColumn" msprop:Generator_UserColumnName="ngayhoadon" type="xs:dateTime" minOccurs="0" />
              <xs:element name="tenhang" msprop:Generator_ColumnVarNameInTable="columntenhang" msprop:Generator_ColumnPropNameInRow="tenhang" msprop:Generator_ColumnPropNameInTable="tenhangColumn" msprop:Generator_UserColumnName="tenhang" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="donvi" msprop:Generator_ColumnVarNameInTable="columndonvi" msprop:Generator_ColumnPropNameInRow="donvi" msprop:Generator_ColumnPropNameInTable="donviColumn" msprop:Generator_UserColumnName="donvi" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="diachi" msprop:Generator_ColumnVarNameInTable="columndiachi" msprop:Generator_ColumnPropNameInRow="diachi" msprop:Generator_ColumnPropNameInTable="diachiColumn" msprop:Generator_UserColumnName="diachi" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="200" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="masothue" msprop:Generator_ColumnVarNameInTable="columnmasothue" msprop:Generator_ColumnPropNameInRow="masothue" msprop:Generator_ColumnPropNameInTable="masothueColumn" msprop:Generator_UserColumnName="masothue" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="10" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="doanhthu" msprop:Generator_ColumnVarNameInTable="columndoanhthu" msprop:Generator_ColumnPropNameInRow="doanhthu" msprop:Generator_ColumnPropNameInTable="doanhthuColumn" msprop:Generator_UserColumnName="doanhthu" type="xs:decimal" />
              <xs:element name="phantramthue" msprop:Generator_ColumnVarNameInTable="columnphantramthue" msprop:Generator_ColumnPropNameInRow="phantramthue" msprop:Generator_ColumnPropNameInTable="phantramthueColumn" msprop:Generator_UserColumnName="phantramthue" type="xs:int" />
              <xs:element name="thue" msprop:Generator_ColumnVarNameInTable="columnthue" msprop:Generator_ColumnPropNameInRow="thue" msprop:Generator_ColumnPropNameInTable="thueColumn" msprop:Generator_UserColumnName="thue" type="xs:decimal" />
              <xs:element name="tongcong" msprop:Generator_ColumnVarNameInTable="columntongcong" msprop:Generator_ColumnPropNameInRow="tongcong" msprop:Generator_ColumnPropNameInTable="tongcongColumn" msprop:Generator_UserColumnName="tongcong" type="xs:decimal" />
              <xs:element name="chinhanh" msprop:Generator_ColumnVarNameInTable="columnchinhanh" msprop:Generator_ColumnPropNameInRow="chinhanh" msprop:Generator_ColumnPropNameInTable="chinhanhColumn" msprop:Generator_UserColumnName="chinhanh" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="id" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnid" msprop:Generator_ColumnPropNameInRow="id" msprop:Generator_ColumnPropNameInTable="idColumn" msprop:Generator_UserColumnName="id" type="xs:decimal" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="ketoanphaithu" msprop:Generator_TableClassName="ketoanphaithuDataTable" msprop:Generator_TableVarName="tableketoanphaithu" msprop:Generator_TablePropName="ketoanphaithu" msprop:Generator_RowDeletingName="ketoanphaithuRowDeleting" msprop:Generator_UserTableName="ketoanphaithu" msprop:Generator_RowChangingName="ketoanphaithuRowChanging" msprop:Generator_RowEvHandlerName="ketoanphaithuRowChangeEventHandler" msprop:Generator_RowDeletedName="ketoanphaithuRowDeleted" msprop:Generator_RowEvArgName="ketoanphaithuRowChangeEvent" msprop:Generator_RowChangedName="ketoanphaithuRowChanged" msprop:Generator_RowClassName="ketoanphaithuRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ma" msprop:Generator_ColumnVarNameInTable="columnma" msprop:Generator_ColumnPropNameInRow="ma" msprop:Generator_ColumnPropNameInTable="maColumn" msprop:Generator_UserColumnName="ma">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ngay" msprop:Generator_ColumnVarNameInTable="columnngay" msprop:Generator_ColumnPropNameInRow="ngay" msprop:Generator_ColumnPropNameInTable="ngayColumn" msprop:Generator_UserColumnName="ngay" type="xs:dateTime" />
              <xs:element name="nghiepvu" msprop:Generator_ColumnVarNameInTable="columnnghiepvu" msprop:Generator_ColumnPropNameInRow="nghiepvu" msprop:Generator_ColumnPropNameInTable="nghiepvuColumn" msprop:Generator_UserColumnName="nghiepvu">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="khachhang" msprop:Generator_ColumnVarNameInTable="columnkhachhang" msprop:Generator_ColumnPropNameInRow="khachhang" msprop:Generator_ColumnPropNameInTable="khachhangColumn" msprop:Generator_UserColumnName="khachhang">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="loaiphatsinh" msprop:Generator_ColumnVarNameInTable="columnloaiphatsinh" msprop:Generator_ColumnPropNameInRow="loaiphatsinh" msprop:Generator_ColumnPropNameInTable="loaiphatsinhColumn" msprop:Generator_UserColumnName="loaiphatsinh">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="taikhoan" msprop:Generator_ColumnVarNameInTable="columntaikhoan" msprop:Generator_ColumnPropNameInRow="taikhoan" msprop:Generator_ColumnPropNameInTable="taikhoanColumn" msprop:Generator_UserColumnName="taikhoan">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="noidung" msprop:Generator_ColumnVarNameInTable="columnnoidung" msprop:Generator_ColumnPropNameInRow="noidung" msprop:Generator_ColumnPropNameInTable="noidungColumn" msprop:Generator_UserColumnName="noidung">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="500" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="loaitien" msprop:Generator_ColumnVarNameInTable="columnloaitien" msprop:Generator_ColumnPropNameInRow="loaitien" msprop:Generator_ColumnPropNameInTable="loaitienColumn" msprop:Generator_UserColumnName="loaitien">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="tygia" msprop:Generator_ColumnVarNameInTable="columntygia" msprop:Generator_ColumnPropNameInRow="tygia" msprop:Generator_ColumnPropNameInTable="tygiaColumn" msprop:Generator_UserColumnName="tygia" type="xs:decimal" />
              <xs:element name="nguyente" msprop:Generator_ColumnVarNameInTable="columnnguyente" msprop:Generator_ColumnPropNameInRow="nguyente" msprop:Generator_ColumnPropNameInTable="nguyenteColumn" msprop:Generator_UserColumnName="nguyente">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="tienvnd" msprop:Generator_ColumnVarNameInTable="columntienvnd" msprop:Generator_ColumnPropNameInRow="tienvnd" msprop:Generator_ColumnPropNameInTable="tienvndColumn" msprop:Generator_UserColumnName="tienvnd">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="tinhtrang" msprop:Generator_ColumnVarNameInTable="columntinhtrang" msprop:Generator_ColumnPropNameInRow="tinhtrang" msprop:Generator_ColumnPropNameInTable="tinhtrangColumn" msprop:Generator_UserColumnName="tinhtrang">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="chinhanh" msprop:Generator_ColumnVarNameInTable="columnchinhanh" msprop:Generator_ColumnPropNameInRow="chinhanh" msprop:Generator_ColumnPropNameInTable="chinhanhColumn" msprop:Generator_UserColumnName="chinhanh" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="id" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnid" msprop:Generator_ColumnPropNameInRow="id" msprop:Generator_ColumnPropNameInTable="idColumn" msprop:Generator_UserColumnName="id" type="xs:decimal" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="ketoanphaithuchitiet" msprop:Generator_TableClassName="ketoanphaithuchitietDataTable" msprop:Generator_TableVarName="tableketoanphaithuchitiet" msprop:Generator_TablePropName="ketoanphaithuchitiet" msprop:Generator_RowDeletingName="ketoanphaithuchitietRowDeleting" msprop:Generator_UserTableName="ketoanphaithuchitiet" msprop:Generator_RowChangingName="ketoanphaithuchitietRowChanging" msprop:Generator_RowEvHandlerName="ketoanphaithuchitietRowChangeEventHandler" msprop:Generator_RowDeletedName="ketoanphaithuchitietRowDeleted" msprop:Generator_RowEvArgName="ketoanphaithuchitietRowChangeEvent" msprop:Generator_RowChangedName="ketoanphaithuchitietRowChanged" msprop:Generator_RowClassName="ketoanphaithuchitietRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ma" msprop:Generator_ColumnVarNameInTable="columnma" msprop:Generator_ColumnPropNameInRow="ma" msprop:Generator_ColumnPropNameInTable="maColumn" msprop:Generator_UserColumnName="ma">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="taikhoan" msprop:Generator_ColumnVarNameInTable="columntaikhoan" msprop:Generator_ColumnPropNameInRow="taikhoan" msprop:Generator_ColumnPropNameInTable="taikhoanColumn" msprop:Generator_UserColumnName="taikhoan">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="phatsinh" msprop:Generator_ColumnVarNameInTable="columnphatsinh" msprop:Generator_ColumnPropNameInRow="phatsinh" msprop:Generator_ColumnPropNameInTable="phatsinhColumn" msprop:Generator_UserColumnName="phatsinh">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="diengiai" msprop:Generator_ColumnVarNameInTable="columndiengiai" msprop:Generator_ColumnPropNameInRow="diengiai" msprop:Generator_ColumnPropNameInTable="diengiaiColumn" msprop:Generator_UserColumnName="diengiai" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="500" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="tienvnd" msprop:Generator_ColumnVarNameInTable="columntienvnd" msprop:Generator_ColumnPropNameInRow="tienvnd" msprop:Generator_ColumnPropNameInTable="tienvndColumn" msprop:Generator_UserColumnName="tienvnd">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="khachhang" msprop:Generator_ColumnVarNameInTable="columnkhachhang" msprop:Generator_ColumnPropNameInRow="khachhang" msprop:Generator_ColumnPropNameInTable="khachhangColumn" msprop:Generator_UserColumnName="khachhang">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="donvi" msprop:Generator_ColumnVarNameInTable="columndonvi" msprop:Generator_ColumnPropNameInRow="donvi" msprop:Generator_ColumnPropNameInTable="donviColumn" msprop:Generator_UserColumnName="donvi">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="sohoadon" msprop:Generator_ColumnVarNameInTable="columnsohoadon" msprop:Generator_ColumnPropNameInRow="sohoadon" msprop:Generator_ColumnPropNameInTable="sohoadonColumn" msprop:Generator_UserColumnName="sohoadon">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ngayhoadon" msprop:Generator_ColumnVarNameInTable="columnngayhoadon" msprop:Generator_ColumnPropNameInRow="ngayhoadon" msprop:Generator_ColumnPropNameInTable="ngayhoadonColumn" msprop:Generator_UserColumnName="ngayhoadon" type="xs:dateTime" />
              <xs:element name="hanthanhtoan" msprop:Generator_ColumnVarNameInTable="columnhanthanhtoan" msprop:Generator_ColumnPropNameInRow="hanthanhtoan" msprop:Generator_ColumnPropNameInTable="hanthanhtoanColumn" msprop:Generator_UserColumnName="hanthanhtoan" type="xs:int" />
              <xs:element name="chinhanh" msprop:Generator_ColumnVarNameInTable="columnchinhanh" msprop:Generator_ColumnPropNameInRow="chinhanh" msprop:Generator_ColumnPropNameInTable="chinhanhColumn" msprop:Generator_UserColumnName="chinhanh">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="id" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnid" msprop:Generator_ColumnPropNameInRow="id" msprop:Generator_ColumnPropNameInTable="idColumn" msprop:Generator_UserColumnName="id" type="xs:decimal" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="ketoantienmat" msprop:Generator_TableClassName="ketoantienmatDataTable" msprop:Generator_TableVarName="tableketoantienmat" msprop:Generator_TablePropName="ketoantienmat" msprop:Generator_RowDeletingName="ketoantienmatRowDeleting" msprop:Generator_UserTableName="ketoantienmat" msprop:Generator_RowChangingName="ketoantienmatRowChanging" msprop:Generator_RowEvHandlerName="ketoantienmatRowChangeEventHandler" msprop:Generator_RowDeletedName="ketoantienmatRowDeleted" msprop:Generator_RowEvArgName="ketoantienmatRowChangeEvent" msprop:Generator_RowChangedName="ketoantienmatRowChanged" msprop:Generator_RowClassName="ketoantienmatRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ma" msprop:Generator_ColumnVarNameInTable="columnma" msprop:Generator_ColumnPropNameInRow="ma" msprop:Generator_ColumnPropNameInTable="maColumn" msprop:Generator_UserColumnName="ma">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="nghiepvu" msprop:Generator_ColumnVarNameInTable="columnnghiepvu" msprop:Generator_ColumnPropNameInRow="nghiepvu" msprop:Generator_ColumnPropNameInTable="nghiepvuColumn" msprop:Generator_UserColumnName="nghiepvu" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="sochungtu" msprop:Generator_ColumnVarNameInTable="columnsochungtu" msprop:Generator_ColumnPropNameInRow="sochungtu" msprop:Generator_ColumnPropNameInTable="sochungtuColumn" msprop:Generator_UserColumnName="sochungtu" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ngaylap" msprop:Generator_ColumnVarNameInTable="columnngaylap" msprop:Generator_ColumnPropNameInRow="ngaylap" msprop:Generator_ColumnPropNameInTable="ngaylapColumn" msprop:Generator_UserColumnName="ngaylap" type="xs:dateTime" minOccurs="0" />
              <xs:element name="hoten" msprop:Generator_ColumnVarNameInTable="columnhoten" msprop:Generator_ColumnPropNameInRow="hoten" msprop:Generator_ColumnPropNameInTable="hotenColumn" msprop:Generator_UserColumnName="hoten" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="200" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="bophan" msprop:Generator_ColumnVarNameInTable="columnbophan" msprop:Generator_ColumnPropNameInRow="bophan" msprop:Generator_ColumnPropNameInTable="bophanColumn" msprop:Generator_UserColumnName="bophan" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="donvi" msprop:Generator_ColumnVarNameInTable="columndonvi" msprop:Generator_ColumnPropNameInRow="donvi" msprop:Generator_ColumnPropNameInTable="donviColumn" msprop:Generator_UserColumnName="donvi" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="noidung" msprop:Generator_ColumnVarNameInTable="columnnoidung" msprop:Generator_ColumnPropNameInRow="noidung" msprop:Generator_ColumnPropNameInTable="noidungColumn" msprop:Generator_UserColumnName="noidung" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="500" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="thamchieu" msprop:Generator_ColumnVarNameInTable="columnthamchieu" msprop:Generator_ColumnPropNameInRow="thamchieu" msprop:Generator_ColumnPropNameInTable="thamchieuColumn" msprop:Generator_UserColumnName="thamchieu" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="500" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="chungtukem" msprop:Generator_ColumnVarNameInTable="columnchungtukem" msprop:Generator_ColumnPropNameInRow="chungtukem" msprop:Generator_ColumnPropNameInTable="chungtukemColumn" msprop:Generator_UserColumnName="chungtukem" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="500" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="loaitien" msprop:Generator_ColumnVarNameInTable="columnloaitien" msprop:Generator_ColumnPropNameInRow="loaitien" msprop:Generator_ColumnPropNameInTable="loaitienColumn" msprop:Generator_UserColumnName="loaitien" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="tygia" msprop:Generator_ColumnVarNameInTable="columntygia" msprop:Generator_ColumnPropNameInRow="tygia" msprop:Generator_ColumnPropNameInTable="tygiaColumn" msprop:Generator_UserColumnName="tygia" type="xs:decimal" />
              <xs:element name="nguyente" msprop:Generator_ColumnVarNameInTable="columnnguyente" msprop:Generator_ColumnPropNameInRow="nguyente" msprop:Generator_ColumnPropNameInTable="nguyenteColumn" msprop:Generator_UserColumnName="nguyente" type="xs:decimal" minOccurs="0" />
              <xs:element name="tienvnd" msprop:Generator_ColumnVarNameInTable="columntienvnd" msprop:Generator_ColumnPropNameInRow="tienvnd" msprop:Generator_ColumnPropNameInTable="tienvndColumn" msprop:Generator_UserColumnName="tienvnd" type="xs:decimal" />
              <xs:element name="tinhtrang" msprop:Generator_ColumnVarNameInTable="columntinhtrang" msprop:Generator_ColumnPropNameInRow="tinhtrang" msprop:Generator_ColumnPropNameInTable="tinhtrangColumn" msprop:Generator_UserColumnName="tinhtrang" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="chinhanh" msprop:Generator_ColumnVarNameInTable="columnchinhanh" msprop:Generator_ColumnPropNameInRow="chinhanh" msprop:Generator_ColumnPropNameInTable="chinhanhColumn" msprop:Generator_UserColumnName="chinhanh" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="id" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnid" msprop:Generator_ColumnPropNameInRow="id" msprop:Generator_ColumnPropNameInTable="idColumn" msprop:Generator_UserColumnName="id" type="xs:decimal" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="ketoantienmatchitiet" msprop:Generator_TableClassName="ketoantienmatchitietDataTable" msprop:Generator_TableVarName="tableketoantienmatchitiet" msprop:Generator_TablePropName="ketoantienmatchitiet" msprop:Generator_RowDeletingName="ketoantienmatchitietRowDeleting" msprop:Generator_UserTableName="ketoantienmatchitiet" msprop:Generator_RowChangingName="ketoantienmatchitietRowChanging" msprop:Generator_RowEvHandlerName="ketoantienmatchitietRowChangeEventHandler" msprop:Generator_RowDeletedName="ketoantienmatchitietRowDeleted" msprop:Generator_RowEvArgName="ketoantienmatchitietRowChangeEvent" msprop:Generator_RowChangedName="ketoantienmatchitietRowChanged" msprop:Generator_RowClassName="ketoantienmatchitietRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ma" msprop:Generator_ColumnVarNameInTable="columnma" msprop:Generator_ColumnPropNameInRow="ma" msprop:Generator_ColumnPropNameInTable="maColumn" msprop:Generator_UserColumnName="ma">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="taikhoanno" msprop:Generator_ColumnVarNameInTable="columntaikhoanno" msprop:Generator_ColumnPropNameInRow="taikhoanno" msprop:Generator_ColumnPropNameInTable="taikhoannoColumn" msprop:Generator_UserColumnName="taikhoanno" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="taikhoanco" msprop:Generator_ColumnVarNameInTable="columntaikhoanco" msprop:Generator_ColumnPropNameInRow="taikhoanco" msprop:Generator_ColumnPropNameInTable="taikhoancoColumn" msprop:Generator_UserColumnName="taikhoanco" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="nguyente" msprop:Generator_ColumnVarNameInTable="columnnguyente" msprop:Generator_ColumnPropNameInRow="nguyente" msprop:Generator_ColumnPropNameInTable="nguyenteColumn" msprop:Generator_UserColumnName="nguyente" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="tienvnd" msprop:Generator_ColumnVarNameInTable="columntienvnd" msprop:Generator_ColumnPropNameInRow="tienvnd" msprop:Generator_ColumnPropNameInTable="tienvndColumn" msprop:Generator_UserColumnName="tienvnd" type="xs:decimal" minOccurs="0" />
              <xs:element name="diengiai" msprop:Generator_ColumnVarNameInTable="columndiengiai" msprop:Generator_ColumnPropNameInRow="diengiai" msprop:Generator_ColumnPropNameInTable="diengiaiColumn" msprop:Generator_UserColumnName="diengiai" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="500" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="donvi" msprop:Generator_ColumnVarNameInTable="columndonvi" msprop:Generator_ColumnPropNameInRow="donvi" msprop:Generator_ColumnPropNameInTable="donviColumn" msprop:Generator_UserColumnName="donvi" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="sohoadon" msprop:Generator_ColumnVarNameInTable="columnsohoadon" msprop:Generator_ColumnPropNameInRow="sohoadon" msprop:Generator_ColumnPropNameInTable="sohoadonColumn" msprop:Generator_UserColumnName="sohoadon" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ngay" msprop:Generator_ColumnVarNameInTable="columnngay" msprop:Generator_ColumnPropNameInRow="ngay" msprop:Generator_ColumnPropNameInTable="ngayColumn" msprop:Generator_UserColumnName="ngay" type="xs:dateTime" minOccurs="0" />
              <xs:element name="khoanmuc" msprop:Generator_ColumnVarNameInTable="columnkhoanmuc" msprop:Generator_ColumnPropNameInRow="khoanmuc" msprop:Generator_ColumnPropNameInTable="khoanmucColumn" msprop:Generator_UserColumnName="khoanmuc" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="phongban" msprop:Generator_ColumnVarNameInTable="columnphongban" msprop:Generator_ColumnPropNameInRow="phongban" msprop:Generator_ColumnPropNameInTable="phongbanColumn" msprop:Generator_UserColumnName="phongban" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="hangmuc" msprop:Generator_ColumnVarNameInTable="columnhangmuc" msprop:Generator_ColumnPropNameInRow="hangmuc" msprop:Generator_ColumnPropNameInTable="hangmucColumn" msprop:Generator_UserColumnName="hangmuc" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="hopdong" msprop:Generator_ColumnVarNameInTable="columnhopdong" msprop:Generator_ColumnPropNameInRow="hopdong" msprop:Generator_ColumnPropNameInTable="hopdongColumn" msprop:Generator_UserColumnName="hopdong" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="nguonvon" msprop:Generator_ColumnVarNameInTable="columnnguonvon" msprop:Generator_ColumnPropNameInRow="nguonvon" msprop:Generator_ColumnPropNameInTable="nguonvonColumn" msprop:Generator_UserColumnName="nguonvon" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="soserial" msprop:Generator_ColumnVarNameInTable="columnsoserial" msprop:Generator_ColumnPropNameInRow="soserial" msprop:Generator_ColumnPropNameInTable="soserialColumn" msprop:Generator_UserColumnName="soserial" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="200" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="loaihoadon" msprop:Generator_ColumnVarNameInTable="columnloaihoadon" msprop:Generator_ColumnPropNameInRow="loaihoadon" msprop:Generator_ColumnPropNameInTable="loaihoadonColumn" msprop:Generator_UserColumnName="loaihoadon" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ngayhoadon" msprop:Generator_ColumnVarNameInTable="columnngayhoadon" msprop:Generator_ColumnPropNameInRow="ngayhoadon" msprop:Generator_ColumnPropNameInTable="ngayhoadonColumn" msprop:Generator_UserColumnName="ngayhoadon" type="xs:dateTime" minOccurs="0" />
              <xs:element name="tenhang" msprop:Generator_ColumnVarNameInTable="columntenhang" msprop:Generator_ColumnPropNameInRow="tenhang" msprop:Generator_ColumnPropNameInTable="tenhangColumn" msprop:Generator_UserColumnName="tenhang" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="200" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="diachi" msprop:Generator_ColumnVarNameInTable="columndiachi" msprop:Generator_ColumnPropNameInRow="diachi" msprop:Generator_ColumnPropNameInTable="diachiColumn" msprop:Generator_UserColumnName="diachi" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="500" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="masothue" msprop:Generator_ColumnVarNameInTable="columnmasothue" msprop:Generator_ColumnPropNameInRow="masothue" msprop:Generator_ColumnPropNameInTable="masothueColumn" msprop:Generator_UserColumnName="masothue" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="doanhthu" msprop:Generator_ColumnVarNameInTable="columndoanhthu" msprop:Generator_ColumnPropNameInRow="doanhthu" msprop:Generator_ColumnPropNameInTable="doanhthuColumn" msprop:Generator_UserColumnName="doanhthu" type="xs:decimal" minOccurs="0" />
              <xs:element name="phantramthue" msprop:Generator_ColumnVarNameInTable="columnphantramthue" msprop:Generator_ColumnPropNameInRow="phantramthue" msprop:Generator_ColumnPropNameInTable="phantramthueColumn" msprop:Generator_UserColumnName="phantramthue" type="xs:int" />
              <xs:element name="thue" msprop:Generator_ColumnVarNameInTable="columnthue" msprop:Generator_ColumnPropNameInRow="thue" msprop:Generator_ColumnPropNameInTable="thueColumn" msprop:Generator_UserColumnName="thue" type="xs:decimal" />
              <xs:element name="tongcong" msprop:Generator_ColumnVarNameInTable="columntongcong" msprop:Generator_ColumnPropNameInRow="tongcong" msprop:Generator_ColumnPropNameInTable="tongcongColumn" msprop:Generator_UserColumnName="tongcong" type="xs:decimal" />
              <xs:element name="chinhanh" msprop:Generator_ColumnVarNameInTable="columnchinhanh" msprop:Generator_ColumnPropNameInRow="chinhanh" msprop:Generator_ColumnPropNameInTable="chinhanhColumn" msprop:Generator_UserColumnName="chinhanh" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="id" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnid" msprop:Generator_ColumnPropNameInRow="id" msprop:Generator_ColumnPropNameInTable="idColumn" msprop:Generator_UserColumnName="id" type="xs:decimal" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="menu" msprop:Generator_TableClassName="menuDataTable" msprop:Generator_TableVarName="tablemenu" msprop:Generator_TablePropName="menu" msprop:Generator_RowDeletingName="menuRowDeleting" msprop:Generator_UserTableName="menu" msprop:Generator_RowChangingName="menuRowChanging" msprop:Generator_RowEvHandlerName="menuRowChangeEventHandler" msprop:Generator_RowDeletedName="menuRowDeleted" msprop:Generator_RowEvArgName="menuRowChangeEvent" msprop:Generator_RowChangedName="menuRowChanged" msprop:Generator_RowClassName="menuRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ma" msprop:Generator_ColumnVarNameInTable="columnma" msprop:Generator_ColumnPropNameInRow="ma" msprop:Generator_ColumnPropNameInTable="maColumn" msprop:Generator_UserColumnName="ma">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ten" msprop:Generator_ColumnVarNameInTable="columnten" msprop:Generator_ColumnPropNameInRow="ten" msprop:Generator_ColumnPropNameInTable="tenColumn" msprop:Generator_UserColumnName="ten">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="500" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="tentienganh" msprop:Generator_ColumnVarNameInTable="columntentienganh" msprop:Generator_ColumnPropNameInRow="tentienganh" msprop:Generator_ColumnPropNameInTable="tentienganhColumn" msprop:Generator_UserColumnName="tentienganh">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="500" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="tieude" msprop:Generator_ColumnVarNameInTable="columntieude" msprop:Generator_ColumnPropNameInRow="tieude" msprop:Generator_ColumnPropNameInTable="tieudeColumn" msprop:Generator_UserColumnName="tieude">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ghichu" msprop:Generator_ColumnVarNameInTable="columnghichu" msprop:Generator_ColumnPropNameInRow="ghichu" msprop:Generator_ColumnPropNameInTable="ghichuColumn" msprop:Generator_UserColumnName="ghichu" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="500" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="id" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnid" msprop:Generator_ColumnPropNameInRow="id" msprop:Generator_ColumnPropNameInTable="idColumn" msprop:Generator_UserColumnName="id" type="xs:decimal" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="menuitem" msprop:Generator_TableClassName="menuitemDataTable" msprop:Generator_TableVarName="tablemenuitem" msprop:Generator_TablePropName="menuitem" msprop:Generator_RowDeletingName="menuitemRowDeleting" msprop:Generator_UserTableName="menuitem" msprop:Generator_RowChangingName="menuitemRowChanging" msprop:Generator_RowEvHandlerName="menuitemRowChangeEventHandler" msprop:Generator_RowDeletedName="menuitemRowDeleted" msprop:Generator_RowEvArgName="menuitemRowChangeEvent" msprop:Generator_RowChangedName="menuitemRowChanged" msprop:Generator_RowClassName="menuitemRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="mamenu" msprop:Generator_ColumnVarNameInTable="columnmamenu" msprop:Generator_ColumnPropNameInRow="mamenu" msprop:Generator_ColumnPropNameInTable="mamenuColumn" msprop:Generator_UserColumnName="mamenu">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ma" msprop:Generator_ColumnVarNameInTable="columnma" msprop:Generator_ColumnPropNameInRow="ma" msprop:Generator_ColumnPropNameInTable="maColumn" msprop:Generator_UserColumnName="ma">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ten" msprop:Generator_ColumnVarNameInTable="columnten" msprop:Generator_ColumnPropNameInRow="ten" msprop:Generator_ColumnPropNameInTable="tenColumn" msprop:Generator_UserColumnName="ten">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="500" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="tentienganh" msprop:Generator_ColumnVarNameInTable="columntentienganh" msprop:Generator_ColumnPropNameInRow="tentienganh" msprop:Generator_ColumnPropNameInTable="tentienganhColumn" msprop:Generator_UserColumnName="tentienganh">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="500" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="hinh" msprop:Generator_ColumnVarNameInTable="columnhinh" msprop:Generator_ColumnPropNameInRow="hinh" msprop:Generator_ColumnPropNameInTable="hinhColumn" msprop:Generator_UserColumnName="hinh" type="xs:base64Binary" minOccurs="0" />
              <xs:element name="ghichu" msprop:Generator_ColumnVarNameInTable="columnghichu" msprop:Generator_ColumnPropNameInRow="ghichu" msprop:Generator_ColumnPropNameInTable="ghichuColumn" msprop:Generator_UserColumnName="ghichu" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="500" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="id" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnid" msprop:Generator_ColumnPropNameInRow="id" msprop:Generator_ColumnPropNameInTable="idColumn" msprop:Generator_UserColumnName="id" type="xs:decimal" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="nguoidung" msprop:Generator_TableClassName="nguoidungDataTable" msprop:Generator_TableVarName="tablenguoidung" msprop:Generator_TablePropName="nguoidung" msprop:Generator_RowDeletingName="nguoidungRowDeleting" msprop:Generator_UserTableName="nguoidung" msprop:Generator_RowChangingName="nguoidungRowChanging" msprop:Generator_RowEvHandlerName="nguoidungRowChangeEventHandler" msprop:Generator_RowDeletedName="nguoidungRowDeleted" msprop:Generator_RowEvArgName="nguoidungRowChangeEvent" msprop:Generator_RowChangedName="nguoidungRowChanged" msprop:Generator_RowClassName="nguoidungRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ma" msprop:Generator_ColumnVarNameInTable="columnma" msprop:Generator_ColumnPropNameInRow="ma" msprop:Generator_ColumnPropNameInTable="maColumn" msprop:Generator_UserColumnName="ma">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="matkhau" msprop:Generator_ColumnVarNameInTable="columnmatkhau" msprop:Generator_ColumnPropNameInRow="matkhau" msprop:Generator_ColumnPropNameInTable="matkhauColumn" msprop:Generator_UserColumnName="matkhau">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="500" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="goinho" msprop:Generator_ColumnVarNameInTable="columngoinho" msprop:Generator_ColumnPropNameInRow="goinho" msprop:Generator_ColumnPropNameInTable="goinhoColumn" msprop:Generator_UserColumnName="goinho" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="500" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="nho" msprop:Generator_ColumnVarNameInTable="columnnho" msprop:Generator_ColumnPropNameInRow="nho" msprop:Generator_ColumnPropNameInTable="nhoColumn" msprop:Generator_UserColumnName="nho" type="xs:boolean" />
              <xs:element name="nhom" msprop:Generator_ColumnVarNameInTable="columnnhom" msprop:Generator_ColumnPropNameInRow="nhom" msprop:Generator_ColumnPropNameInTable="nhomColumn" msprop:Generator_UserColumnName="nhom">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="chinhanh" msprop:Generator_ColumnVarNameInTable="columnchinhanh" msprop:Generator_ColumnPropNameInRow="chinhanh" msprop:Generator_ColumnPropNameInTable="chinhanhColumn" msprop:Generator_UserColumnName="chinhanh">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="id" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnid" msprop:Generator_ColumnPropNameInRow="id" msprop:Generator_ColumnPropNameInTable="idColumn" msprop:Generator_UserColumnName="id" type="xs:decimal" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="nhomnguoidung" msprop:Generator_TableClassName="nhomnguoidungDataTable" msprop:Generator_TableVarName="tablenhomnguoidung" msprop:Generator_TablePropName="nhomnguoidung" msprop:Generator_RowDeletingName="nhomnguoidungRowDeleting" msprop:Generator_UserTableName="nhomnguoidung" msprop:Generator_RowChangingName="nhomnguoidungRowChanging" msprop:Generator_RowEvHandlerName="nhomnguoidungRowChangeEventHandler" msprop:Generator_RowDeletedName="nhomnguoidungRowDeleted" msprop:Generator_RowEvArgName="nhomnguoidungRowChangeEvent" msprop:Generator_RowChangedName="nhomnguoidungRowChanged" msprop:Generator_RowClassName="nhomnguoidungRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ma" msprop:Generator_ColumnVarNameInTable="columnma" msprop:Generator_ColumnPropNameInRow="ma" msprop:Generator_ColumnPropNameInTable="maColumn" msprop:Generator_UserColumnName="ma">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ten" msprop:Generator_ColumnVarNameInTable="columnten" msprop:Generator_ColumnPropNameInRow="ten" msprop:Generator_ColumnPropNameInTable="tenColumn" msprop:Generator_UserColumnName="ten">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="500" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="hinh" msprop:Generator_ColumnVarNameInTable="columnhinh" msprop:Generator_ColumnPropNameInRow="hinh" msprop:Generator_ColumnPropNameInTable="hinhColumn" msprop:Generator_UserColumnName="hinh" type="xs:base64Binary" minOccurs="0" />
              <xs:element name="ghichu" msprop:Generator_ColumnVarNameInTable="columnghichu" msprop:Generator_ColumnPropNameInRow="ghichu" msprop:Generator_ColumnPropNameInTable="ghichuColumn" msprop:Generator_UserColumnName="ghichu" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="500" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="id" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnid" msprop:Generator_ColumnPropNameInRow="id" msprop:Generator_ColumnPropNameInTable="idColumn" msprop:Generator_UserColumnName="id" type="xs:decimal" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="nhomnguoidung_menu" msprop:Generator_TableClassName="nhomnguoidung_menuDataTable" msprop:Generator_TableVarName="tablenhomnguoidung_menu" msprop:Generator_TablePropName="nhomnguoidung_menu" msprop:Generator_RowDeletingName="nhomnguoidung_menuRowDeleting" msprop:Generator_UserTableName="nhomnguoidung_menu" msprop:Generator_RowChangingName="nhomnguoidung_menuRowChanging" msprop:Generator_RowEvHandlerName="nhomnguoidung_menuRowChangeEventHandler" msprop:Generator_RowDeletedName="nhomnguoidung_menuRowDeleted" msprop:Generator_RowEvArgName="nhomnguoidung_menuRowChangeEvent" msprop:Generator_RowChangedName="nhomnguoidung_menuRowChanged" msprop:Generator_RowClassName="nhomnguoidung_menuRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="manhomnguoidung" msprop:Generator_ColumnVarNameInTable="columnmanhomnguoidung" msprop:Generator_ColumnPropNameInRow="manhomnguoidung" msprop:Generator_ColumnPropNameInTable="manhomnguoidungColumn" msprop:Generator_UserColumnName="manhomnguoidung">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="mamenu" msprop:Generator_ColumnVarNameInTable="columnmamenu" msprop:Generator_ColumnPropNameInRow="mamenu" msprop:Generator_ColumnPropNameInTable="mamenuColumn" msprop:Generator_UserColumnName="mamenu">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="truycap" msprop:Generator_ColumnVarNameInTable="columntruycap" msprop:Generator_ColumnPropNameInRow="truycap" msprop:Generator_ColumnPropNameInTable="truycapColumn" msprop:Generator_UserColumnName="truycap">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="quanlyhopdongtindung" msprop:Generator_TableClassName="quanlyhopdongtindungDataTable" msprop:Generator_TableVarName="tablequanlyhopdongtindung" msprop:Generator_TablePropName="quanlyhopdongtindung" msprop:Generator_RowDeletingName="quanlyhopdongtindungRowDeleting" msprop:Generator_UserTableName="quanlyhopdongtindung" msprop:Generator_RowChangingName="quanlyhopdongtindungRowChanging" msprop:Generator_RowEvHandlerName="quanlyhopdongtindungRowChangeEventHandler" msprop:Generator_RowDeletedName="quanlyhopdongtindungRowDeleted" msprop:Generator_RowEvArgName="quanlyhopdongtindungRowChangeEvent" msprop:Generator_RowChangedName="quanlyhopdongtindungRowChanged" msprop:Generator_RowClassName="quanlyhopdongtindungRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ma" msprop:Generator_ColumnVarNameInTable="columnma" msprop:Generator_ColumnPropNameInRow="ma" msprop:Generator_ColumnPropNameInTable="maColumn" msprop:Generator_UserColumnName="ma">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="nganhang" msprop:Generator_ColumnVarNameInTable="columnnganhang" msprop:Generator_ColumnPropNameInRow="nganhang" msprop:Generator_ColumnPropNameInTable="nganhangColumn" msprop:Generator_UserColumnName="nganhang">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="sohopdong" msprop:Generator_ColumnVarNameInTable="columnsohopdong" msprop:Generator_ColumnPropNameInRow="sohopdong" msprop:Generator_ColumnPropNameInTable="sohopdongColumn" msprop:Generator_UserColumnName="sohopdong">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ngayhopdong" msprop:Generator_ColumnVarNameInTable="columnngayhopdong" msprop:Generator_ColumnPropNameInRow="ngayhopdong" msprop:Generator_ColumnPropNameInTable="ngayhopdongColumn" msprop:Generator_UserColumnName="ngayhopdong" type="xs:dateTime" />
              <xs:element name="hanmuctindung" msprop:Generator_ColumnVarNameInTable="columnhanmuctindung" msprop:Generator_ColumnPropNameInRow="hanmuctindung" msprop:Generator_ColumnPropNameInTable="hanmuctindungColumn" msprop:Generator_UserColumnName="hanmuctindung" type="xs:int" />
              <xs:element name="thoihanvay" msprop:Generator_ColumnVarNameInTable="columnthoihanvay" msprop:Generator_ColumnPropNameInRow="thoihanvay" msprop:Generator_ColumnPropNameInTable="thoihanvayColumn" msprop:Generator_UserColumnName="thoihanvay" type="xs:dateTime" />
              <xs:element name="songaycanhbaohethan" msprop:Generator_ColumnVarNameInTable="columnsongaycanhbaohethan" msprop:Generator_ColumnPropNameInRow="songaycanhbaohethan" msprop:Generator_ColumnPropNameInTable="songaycanhbaohethanColumn" msprop:Generator_UserColumnName="songaycanhbaohethan" type="xs:int" />
              <xs:element name="tinhtrang" msprop:Generator_ColumnVarNameInTable="columntinhtrang" msprop:Generator_ColumnPropNameInRow="tinhtrang" msprop:Generator_ColumnPropNameInTable="tinhtrangColumn" msprop:Generator_UserColumnName="tinhtrang">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="chinhanh" msprop:Generator_ColumnVarNameInTable="columnchinhanh" msprop:Generator_ColumnPropNameInRow="chinhanh" msprop:Generator_ColumnPropNameInTable="chinhanhColumn" msprop:Generator_UserColumnName="chinhanh" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="id" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnid" msprop:Generator_ColumnPropNameInRow="id" msprop:Generator_ColumnPropNameInTable="idColumn" msprop:Generator_UserColumnName="id" type="xs:decimal" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="quanlyhopdongtindungchitiet" msprop:Generator_TableClassName="quanlyhopdongtindungchitietDataTable" msprop:Generator_TableVarName="tablequanlyhopdongtindungchitiet" msprop:Generator_TablePropName="quanlyhopdongtindungchitiet" msprop:Generator_RowDeletingName="quanlyhopdongtindungchitietRowDeleting" msprop:Generator_UserTableName="quanlyhopdongtindungchitiet" msprop:Generator_RowChangingName="quanlyhopdongtindungchitietRowChanging" msprop:Generator_RowEvHandlerName="quanlyhopdongtindungchitietRowChangeEventHandler" msprop:Generator_RowDeletedName="quanlyhopdongtindungchitietRowDeleted" msprop:Generator_RowEvArgName="quanlyhopdongtindungchitietRowChangeEvent" msprop:Generator_RowChangedName="quanlyhopdongtindungchitietRowChanged" msprop:Generator_RowClassName="quanlyhopdongtindungchitietRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ma" msprop:Generator_ColumnVarNameInTable="columnma" msprop:Generator_ColumnPropNameInRow="ma" msprop:Generator_ColumnPropNameInTable="maColumn" msprop:Generator_UserColumnName="ma">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="loaitien" msprop:Generator_ColumnVarNameInTable="columnloaitien" msprop:Generator_ColumnPropNameInRow="loaitien" msprop:Generator_ColumnPropNameInTable="loaitienColumn" msprop:Generator_UserColumnName="loaitien">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="tungay" msprop:Generator_ColumnVarNameInTable="columntungay" msprop:Generator_ColumnPropNameInRow="tungay" msprop:Generator_ColumnPropNameInTable="tungayColumn" msprop:Generator_UserColumnName="tungay" type="xs:dateTime" />
              <xs:element name="denngay" msprop:Generator_ColumnVarNameInTable="columndenngay" msprop:Generator_ColumnPropNameInRow="denngay" msprop:Generator_ColumnPropNameInTable="denngayColumn" msprop:Generator_UserColumnName="denngay" type="xs:dateTime" />
              <xs:element name="laisuat" msprop:Generator_ColumnVarNameInTable="columnlaisuat" msprop:Generator_ColumnPropNameInRow="laisuat" msprop:Generator_ColumnPropNameInTable="laisuatColumn" msprop:Generator_UserColumnName="laisuat" type="xs:int" />
              <xs:element name="diengiai" msprop:Generator_ColumnVarNameInTable="columndiengiai" msprop:Generator_ColumnPropNameInRow="diengiai" msprop:Generator_ColumnPropNameInTable="diengiaiColumn" msprop:Generator_UserColumnName="diengiai" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="500" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="sophuluc" msprop:Generator_ColumnVarNameInTable="columnsophuluc" msprop:Generator_ColumnPropNameInRow="sophuluc" msprop:Generator_ColumnPropNameInTable="sophulucColumn" msprop:Generator_UserColumnName="sophuluc">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ngayhieuluc" msprop:Generator_ColumnVarNameInTable="columnngayhieuluc" msprop:Generator_ColumnPropNameInRow="ngayhieuluc" msprop:Generator_ColumnPropNameInTable="ngayhieulucColumn" msprop:Generator_UserColumnName="ngayhieuluc" type="xs:dateTime" />
              <xs:element name="sotien" msprop:Generator_ColumnVarNameInTable="columnsotien" msprop:Generator_ColumnPropNameInRow="sotien" msprop:Generator_ColumnPropNameInTable="sotienColumn" msprop:Generator_UserColumnName="sotien" type="xs:decimal" />
              <xs:element name="diengiaithem" msprop:Generator_ColumnVarNameInTable="columndiengiaithem" msprop:Generator_ColumnPropNameInRow="diengiaithem" msprop:Generator_ColumnPropNameInTable="diengiaithemColumn" msprop:Generator_UserColumnName="diengiaithem" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="500" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="chinhanh" msprop:Generator_ColumnVarNameInTable="columnchinhanh" msprop:Generator_ColumnPropNameInRow="chinhanh" msprop:Generator_ColumnPropNameInTable="chinhanhColumn" msprop:Generator_UserColumnName="chinhanh" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="id" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnid" msprop:Generator_ColumnPropNameInRow="id" msprop:Generator_ColumnPropNameInTable="idColumn" msprop:Generator_UserColumnName="id" type="xs:decimal" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="theodoichinhsuabaobi" msprop:Generator_TableClassName="theodoichinhsuabaobiDataTable" msprop:Generator_TableVarName="tabletheodoichinhsuabaobi" msprop:Generator_TablePropName="theodoichinhsuabaobi" msprop:Generator_RowDeletingName="theodoichinhsuabaobiRowDeleting" msprop:Generator_UserTableName="theodoichinhsuabaobi" msprop:Generator_RowChangingName="theodoichinhsuabaobiRowChanging" msprop:Generator_RowEvHandlerName="theodoichinhsuabaobiRowChangeEventHandler" msprop:Generator_RowDeletedName="theodoichinhsuabaobiRowDeleted" msprop:Generator_RowEvArgName="theodoichinhsuabaobiRowChangeEvent" msprop:Generator_RowChangedName="theodoichinhsuabaobiRowChanged" msprop:Generator_RowClassName="theodoichinhsuabaobiRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ma" msprop:Generator_ColumnVarNameInTable="columnma" msprop:Generator_ColumnPropNameInRow="ma" msprop:Generator_ColumnPropNameInTable="maColumn" msprop:Generator_UserColumnName="ma">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ten" msprop:Generator_ColumnVarNameInTable="columnten" msprop:Generator_ColumnPropNameInRow="ten" msprop:Generator_ColumnPropNameInTable="tenColumn" msprop:Generator_UserColumnName="ten">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="500" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="donvitinh" msprop:Generator_ColumnVarNameInTable="columndonvitinh" msprop:Generator_ColumnPropNameInRow="donvitinh" msprop:Generator_ColumnPropNameInTable="donvitinhColumn" msprop:Generator_UserColumnName="donvitinh">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ngayhieuluc" msprop:Generator_ColumnVarNameInTable="columnngayhieuluc" msprop:Generator_ColumnPropNameInRow="ngayhieuluc" msprop:Generator_ColumnPropNameInTable="ngayhieulucColumn" msprop:Generator_UserColumnName="ngayhieuluc" type="xs:dateTime" />
              <xs:element name="ngaycapnhat" msprop:Generator_ColumnVarNameInTable="columnngaycapnhat" msprop:Generator_ColumnPropNameInRow="ngaycapnhat" msprop:Generator_ColumnPropNameInTable="ngaycapnhatColumn" msprop:Generator_UserColumnName="ngaycapnhat" type="xs:dateTime" />
              <xs:element name="diengiai" msprop:Generator_ColumnVarNameInTable="columndiengiai" msprop:Generator_ColumnPropNameInRow="diengiai" msprop:Generator_ColumnPropNameInTable="diengiaiColumn" msprop:Generator_UserColumnName="diengiai" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="500" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="hinhcu" msprop:Generator_ColumnVarNameInTable="columnhinhcu" msprop:Generator_ColumnPropNameInRow="hinhcu" msprop:Generator_ColumnPropNameInTable="hinhcuColumn" msprop:Generator_UserColumnName="hinhcu" type="xs:base64Binary" minOccurs="0" />
              <xs:element name="hinhmoi" msprop:Generator_ColumnVarNameInTable="columnhinhmoi" msprop:Generator_ColumnPropNameInRow="hinhmoi" msprop:Generator_ColumnPropNameInTable="hinhmoiColumn" msprop:Generator_UserColumnName="hinhmoi" type="xs:base64Binary" minOccurs="0" />
              <xs:element name="socongvan" msprop:Generator_ColumnVarNameInTable="columnsocongvan" msprop:Generator_ColumnPropNameInRow="socongvan" msprop:Generator_ColumnPropNameInTable="socongvanColumn" msprop:Generator_UserColumnName="socongvan">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ngaycongvan" msprop:Generator_ColumnVarNameInTable="columnngaycongvan" msprop:Generator_ColumnPropNameInRow="ngaycongvan" msprop:Generator_ColumnPropNameInTable="ngaycongvanColumn" msprop:Generator_UserColumnName="ngaycongvan" type="xs:dateTime" />
              <xs:element name="tinhtrang" msprop:Generator_ColumnVarNameInTable="columntinhtrang" msprop:Generator_ColumnPropNameInRow="tinhtrang" msprop:Generator_ColumnPropNameInTable="tinhtrangColumn" msprop:Generator_UserColumnName="tinhtrang">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="chinhanh" msprop:Generator_ColumnVarNameInTable="columnchinhanh" msprop:Generator_ColumnPropNameInRow="chinhanh" msprop:Generator_ColumnPropNameInTable="chinhanhColumn" msprop:Generator_UserColumnName="chinhanh" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="id" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnid" msprop:Generator_ColumnPropNameInRow="id" msprop:Generator_ColumnPropNameInTable="idColumn" msprop:Generator_UserColumnName="id" type="xs:decimal" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="theodoinguyenvatlieuncc" msprop:Generator_TableClassName="theodoinguyenvatlieunccDataTable" msprop:Generator_TableVarName="tabletheodoinguyenvatlieuncc" msprop:Generator_TablePropName="theodoinguyenvatlieuncc" msprop:Generator_RowDeletingName="theodoinguyenvatlieunccRowDeleting" msprop:Generator_UserTableName="theodoinguyenvatlieuncc" msprop:Generator_RowChangingName="theodoinguyenvatlieunccRowChanging" msprop:Generator_RowEvHandlerName="theodoinguyenvatlieunccRowChangeEventHandler" msprop:Generator_RowDeletedName="theodoinguyenvatlieunccRowDeleted" msprop:Generator_RowEvArgName="theodoinguyenvatlieunccRowChangeEvent" msprop:Generator_RowChangedName="theodoinguyenvatlieunccRowChanged" msprop:Generator_RowClassName="theodoinguyenvatlieunccRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ma" msprop:Generator_ColumnVarNameInTable="columnma" msprop:Generator_ColumnPropNameInRow="ma" msprop:Generator_ColumnPropNameInTable="maColumn" msprop:Generator_UserColumnName="ma">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ten" msprop:Generator_ColumnVarNameInTable="columnten" msprop:Generator_ColumnPropNameInRow="ten" msprop:Generator_ColumnPropNameInTable="tenColumn" msprop:Generator_UserColumnName="ten">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="500" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="donvitinh" msprop:Generator_ColumnVarNameInTable="columndonvitinh" msprop:Generator_ColumnPropNameInRow="donvitinh" msprop:Generator_ColumnPropNameInTable="donvitinhColumn" msprop:Generator_UserColumnName="donvitinh">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="soluong" msprop:Generator_ColumnVarNameInTable="columnsoluong" msprop:Generator_ColumnPropNameInRow="soluong" msprop:Generator_ColumnPropNameInTable="soluongColumn" msprop:Generator_UserColumnName="soluong" type="xs:decimal" />
              <xs:element name="tinhtrangnguyenvatlieu" msprop:Generator_ColumnVarNameInTable="columntinhtrangnguyenvatlieu" msprop:Generator_ColumnPropNameInRow="tinhtrangnguyenvatlieu" msprop:Generator_ColumnPropNameInTable="tinhtrangnguyenvatlieuColumn" msprop:Generator_UserColumnName="tinhtrangnguyenvatlieu">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ngaygui" msprop:Generator_ColumnVarNameInTable="columnngaygui" msprop:Generator_ColumnPropNameInRow="ngaygui" msprop:Generator_ColumnPropNameInTable="ngayguiColumn" msprop:Generator_UserColumnName="ngaygui" type="xs:dateTime" />
              <xs:element name="ngayhethan" msprop:Generator_ColumnVarNameInTable="columnngayhethan" msprop:Generator_ColumnPropNameInRow="ngayhethan" msprop:Generator_ColumnPropNameInTable="ngayhethanColumn" msprop:Generator_UserColumnName="ngayhethan" type="xs:dateTime" />
              <xs:element name="diengiai" msprop:Generator_ColumnVarNameInTable="columndiengiai" msprop:Generator_ColumnPropNameInRow="diengiai" msprop:Generator_ColumnPropNameInTable="diengiaiColumn" msprop:Generator_UserColumnName="diengiai" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="500" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="tinhtrang" msprop:Generator_ColumnVarNameInTable="columntinhtrang" msprop:Generator_ColumnPropNameInRow="tinhtrang" msprop:Generator_ColumnPropNameInTable="tinhtrangColumn" msprop:Generator_UserColumnName="tinhtrang">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="chinhanh" msprop:Generator_ColumnVarNameInTable="columnchinhanh" msprop:Generator_ColumnPropNameInRow="chinhanh" msprop:Generator_ColumnPropNameInTable="chinhanhColumn" msprop:Generator_UserColumnName="chinhanh" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="id" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnid" msprop:Generator_ColumnPropNameInRow="id" msprop:Generator_ColumnPropNameInTable="idColumn" msprop:Generator_UserColumnName="id" type="xs:decimal" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="dmkhaibaosohoadon" msprop:Generator_TableClassName="dmkhaibaosohoadonDataTable" msprop:Generator_TableVarName="tabledmkhaibaosohoadon" msprop:Generator_TablePropName="dmkhaibaosohoadon" msprop:Generator_RowDeletingName="dmkhaibaosohoadonRowDeleting" msprop:Generator_UserTableName="dmkhaibaosohoadon" msprop:Generator_RowChangingName="dmkhaibaosohoadonRowChanging" msprop:Generator_RowEvHandlerName="dmkhaibaosohoadonRowChangeEventHandler" msprop:Generator_RowDeletedName="dmkhaibaosohoadonRowDeleted" msprop:Generator_RowEvArgName="dmkhaibaosohoadonRowChangeEvent" msprop:Generator_RowChangedName="dmkhaibaosohoadonRowChanged" msprop:Generator_RowClassName="dmkhaibaosohoadonRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="kyhieusohoadon" msprop:Generator_ColumnVarNameInTable="columnkyhieusohoadon" msprop:Generator_ColumnPropNameInRow="kyhieusohoadon" msprop:Generator_ColumnPropNameInTable="kyhieusohoadonColumn" msprop:Generator_UserColumnName="kyhieusohoadon">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="sohoadon" msprop:Generator_ColumnVarNameInTable="columnsohoadon" msprop:Generator_ColumnPropNameInRow="sohoadon" msprop:Generator_ColumnPropNameInTable="sohoadonColumn" msprop:Generator_UserColumnName="sohoadon">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="chieudaisohoadon" msprop:Generator_ColumnVarNameInTable="columnchieudaisohoadon" msprop:Generator_ColumnPropNameInRow="chieudaisohoadon" msprop:Generator_ColumnPropNameInTable="chieudaisohoadonColumn" msprop:Generator_UserColumnName="chieudaisohoadon" type="xs:decimal" />
              <xs:element name="tinhtrang" msprop:Generator_ColumnVarNameInTable="columntinhtrang" msprop:Generator_ColumnPropNameInRow="tinhtrang" msprop:Generator_ColumnPropNameInTable="tinhtrangColumn" msprop:Generator_UserColumnName="tinhtrang">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="chinhanh" msprop:Generator_ColumnVarNameInTable="columnchinhanh" msprop:Generator_ColumnPropNameInRow="chinhanh" msprop:Generator_ColumnPropNameInTable="chinhanhColumn" msprop:Generator_UserColumnName="chinhanh" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="id" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnid" msprop:Generator_ColumnPropNameInRow="id" msprop:Generator_ColumnPropNameInTable="idColumn" msprop:Generator_UserColumnName="id" type="xs:decimal" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="dmmauin" msprop:Generator_TableClassName="dmmauinDataTable" msprop:Generator_TableVarName="tabledmmauin" msprop:Generator_TablePropName="dmmauin" msprop:Generator_RowDeletingName="dmmauinRowDeleting" msprop:Generator_UserTableName="dmmauin" msprop:Generator_RowChangingName="dmmauinRowChanging" msprop:Generator_RowEvHandlerName="dmmauinRowChangeEventHandler" msprop:Generator_RowDeletedName="dmmauinRowDeleted" msprop:Generator_RowEvArgName="dmmauinRowChangeEvent" msprop:Generator_RowChangedName="dmmauinRowChanged" msprop:Generator_RowClassName="dmmauinRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ma" msprop:Generator_ColumnVarNameInTable="columnma" msprop:Generator_ColumnPropNameInRow="ma" msprop:Generator_ColumnPropNameInTable="maColumn" msprop:Generator_UserColumnName="ma">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ten" msprop:Generator_ColumnVarNameInTable="columnten" msprop:Generator_ColumnPropNameInRow="ten" msprop:Generator_ColumnPropNameInTable="tenColumn" msprop:Generator_UserColumnName="ten">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="500" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="tenreport" msprop:Generator_ColumnVarNameInTable="columntenreport" msprop:Generator_ColumnPropNameInRow="tenreport" msprop:Generator_ColumnPropNameInTable="tenreportColumn" msprop:Generator_UserColumnName="tenreport">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ghichu" msprop:Generator_ColumnVarNameInTable="columnghichu" msprop:Generator_ColumnPropNameInRow="ghichu" msprop:Generator_ColumnPropNameInTable="ghichuColumn" msprop:Generator_UserColumnName="ghichu">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="500" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="tinhtrang" msprop:Generator_ColumnVarNameInTable="columntinhtrang" msprop:Generator_ColumnPropNameInRow="tinhtrang" msprop:Generator_ColumnPropNameInTable="tinhtrangColumn" msprop:Generator_UserColumnName="tinhtrang">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="chinhanh" msprop:Generator_ColumnVarNameInTable="columnchinhanh" msprop:Generator_ColumnPropNameInRow="chinhanh" msprop:Generator_ColumnPropNameInTable="chinhanhColumn" msprop:Generator_UserColumnName="chinhanh" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="id" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnid" msprop:Generator_ColumnPropNameInRow="id" msprop:Generator_ColumnPropNameInTable="idColumn" msprop:Generator_UserColumnName="id" type="xs:decimal" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="dmphuongxa" msprop:Generator_TableClassName="dmphuongxaDataTable" msprop:Generator_TableVarName="tabledmphuongxa" msprop:Generator_TablePropName="dmphuongxa" msprop:Generator_RowDeletingName="dmphuongxaRowDeleting" msprop:Generator_UserTableName="dmphuongxa" msprop:Generator_RowChangingName="dmphuongxaRowChanging" msprop:Generator_RowEvHandlerName="dmphuongxaRowChangeEventHandler" msprop:Generator_RowDeletedName="dmphuongxaRowDeleted" msprop:Generator_RowEvArgName="dmphuongxaRowChangeEvent" msprop:Generator_RowChangedName="dmphuongxaRowChanged" msprop:Generator_RowClassName="dmphuongxaRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ma" msprop:Generator_ColumnVarNameInTable="columnma" msprop:Generator_ColumnPropNameInRow="ma" msprop:Generator_ColumnPropNameInTable="maColumn" msprop:Generator_UserColumnName="ma">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ten" msprop:Generator_ColumnVarNameInTable="columnten" msprop:Generator_ColumnPropNameInRow="ten" msprop:Generator_ColumnPropNameInTable="tenColumn" msprop:Generator_UserColumnName="ten">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="500" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="maquocgia" msprop:Generator_ColumnVarNameInTable="columnmaquocgia" msprop:Generator_ColumnPropNameInRow="maquocgia" msprop:Generator_ColumnPropNameInTable="maquocgiaColumn" msprop:Generator_UserColumnName="maquocgia">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="matinhthanh" msprop:Generator_ColumnVarNameInTable="columnmatinhthanh" msprop:Generator_ColumnPropNameInRow="matinhthanh" msprop:Generator_ColumnPropNameInTable="matinhthanhColumn" msprop:Generator_UserColumnName="matinhthanh">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="maquanhuyen" msprop:Generator_ColumnVarNameInTable="columnmaquanhuyen" msprop:Generator_ColumnPropNameInRow="maquanhuyen" msprop:Generator_ColumnPropNameInTable="maquanhuyenColumn" msprop:Generator_UserColumnName="maquanhuyen">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ghichu" msprop:Generator_ColumnVarNameInTable="columnghichu" msprop:Generator_ColumnPropNameInRow="ghichu" msprop:Generator_ColumnPropNameInTable="ghichuColumn" msprop:Generator_UserColumnName="ghichu">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="500" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="tinhtrang" msprop:Generator_ColumnVarNameInTable="columntinhtrang" msprop:Generator_ColumnPropNameInRow="tinhtrang" msprop:Generator_ColumnPropNameInTable="tinhtrangColumn" msprop:Generator_UserColumnName="tinhtrang">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="chinhanh" msprop:Generator_ColumnVarNameInTable="columnchinhanh" msprop:Generator_ColumnPropNameInRow="chinhanh" msprop:Generator_ColumnPropNameInTable="chinhanhColumn" msprop:Generator_UserColumnName="chinhanh" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="id" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnid" msprop:Generator_ColumnPropNameInRow="id" msprop:Generator_ColumnPropNameInTable="idColumn" msprop:Generator_UserColumnName="id" type="xs:decimal" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="dmquanhuyen" msprop:Generator_TableClassName="dmquanhuyenDataTable" msprop:Generator_TableVarName="tabledmquanhuyen" msprop:Generator_TablePropName="dmquanhuyen" msprop:Generator_RowDeletingName="dmquanhuyenRowDeleting" msprop:Generator_UserTableName="dmquanhuyen" msprop:Generator_RowChangingName="dmquanhuyenRowChanging" msprop:Generator_RowEvHandlerName="dmquanhuyenRowChangeEventHandler" msprop:Generator_RowDeletedName="dmquanhuyenRowDeleted" msprop:Generator_RowEvArgName="dmquanhuyenRowChangeEvent" msprop:Generator_RowChangedName="dmquanhuyenRowChanged" msprop:Generator_RowClassName="dmquanhuyenRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ma" msprop:Generator_ColumnVarNameInTable="columnma" msprop:Generator_ColumnPropNameInRow="ma" msprop:Generator_ColumnPropNameInTable="maColumn" msprop:Generator_UserColumnName="ma">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ten" msprop:Generator_ColumnVarNameInTable="columnten" msprop:Generator_ColumnPropNameInRow="ten" msprop:Generator_ColumnPropNameInTable="tenColumn" msprop:Generator_UserColumnName="ten">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="500" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="maquocgia" msprop:Generator_ColumnVarNameInTable="columnmaquocgia" msprop:Generator_ColumnPropNameInRow="maquocgia" msprop:Generator_ColumnPropNameInTable="maquocgiaColumn" msprop:Generator_UserColumnName="maquocgia">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="matinhthanh" msprop:Generator_ColumnVarNameInTable="columnmatinhthanh" msprop:Generator_ColumnPropNameInRow="matinhthanh" msprop:Generator_ColumnPropNameInTable="matinhthanhColumn" msprop:Generator_UserColumnName="matinhthanh">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ghichu" msprop:Generator_ColumnVarNameInTable="columnghichu" msprop:Generator_ColumnPropNameInRow="ghichu" msprop:Generator_ColumnPropNameInTable="ghichuColumn" msprop:Generator_UserColumnName="ghichu">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="500" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="tinhtrang" msprop:Generator_ColumnVarNameInTable="columntinhtrang" msprop:Generator_ColumnPropNameInRow="tinhtrang" msprop:Generator_ColumnPropNameInTable="tinhtrangColumn" msprop:Generator_UserColumnName="tinhtrang">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="chinhanh" msprop:Generator_ColumnVarNameInTable="columnchinhanh" msprop:Generator_ColumnPropNameInRow="chinhanh" msprop:Generator_ColumnPropNameInTable="chinhanhColumn" msprop:Generator_UserColumnName="chinhanh" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="id" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnid" msprop:Generator_ColumnPropNameInRow="id" msprop:Generator_ColumnPropNameInTable="idColumn" msprop:Generator_UserColumnName="id" type="xs:decimal" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="dmtygia" msprop:Generator_TableClassName="dmtygiaDataTable" msprop:Generator_TableVarName="tabledmtygia" msprop:Generator_TablePropName="dmtygia" msprop:Generator_RowDeletingName="dmtygiaRowDeleting" msprop:Generator_UserTableName="dmtygia" msprop:Generator_RowChangingName="dmtygiaRowChanging" msprop:Generator_RowEvHandlerName="dmtygiaRowChangeEventHandler" msprop:Generator_RowDeletedName="dmtygiaRowDeleted" msprop:Generator_RowEvArgName="dmtygiaRowChangeEvent" msprop:Generator_RowChangedName="dmtygiaRowChanged" msprop:Generator_RowClassName="dmtygiaRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ngaytygia" msprop:Generator_ColumnVarNameInTable="columnngaytygia" msprop:Generator_ColumnPropNameInRow="ngaytygia" msprop:Generator_ColumnPropNameInTable="ngaytygiaColumn" msprop:Generator_UserColumnName="ngaytygia" type="xs:dateTime" />
              <xs:element name="loaitien" msprop:Generator_ColumnVarNameInTable="columnloaitien" msprop:Generator_ColumnPropNameInRow="loaitien" msprop:Generator_ColumnPropNameInTable="loaitienColumn" msprop:Generator_UserColumnName="loaitien">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="tygia" msprop:Generator_ColumnVarNameInTable="columntygia" msprop:Generator_ColumnPropNameInRow="tygia" msprop:Generator_ColumnPropNameInTable="tygiaColumn" msprop:Generator_UserColumnName="tygia" type="xs:decimal" />
              <xs:element name="ghichu" msprop:Generator_ColumnVarNameInTable="columnghichu" msprop:Generator_ColumnPropNameInRow="ghichu" msprop:Generator_ColumnPropNameInTable="ghichuColumn" msprop:Generator_UserColumnName="ghichu" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="500" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="tinhtrang" msprop:Generator_ColumnVarNameInTable="columntinhtrang" msprop:Generator_ColumnPropNameInRow="tinhtrang" msprop:Generator_ColumnPropNameInTable="tinhtrangColumn" msprop:Generator_UserColumnName="tinhtrang">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="chinhanh" msprop:Generator_ColumnVarNameInTable="columnchinhanh" msprop:Generator_ColumnPropNameInRow="chinhanh" msprop:Generator_ColumnPropNameInTable="chinhanhColumn" msprop:Generator_UserColumnName="chinhanh" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="id" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnid" msprop:Generator_ColumnPropNameInRow="id" msprop:Generator_ColumnPropNameInTable="idColumn" msprop:Generator_UserColumnName="id" type="xs:decimal" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="nhapsodudaukytknganhang" msprop:Generator_TableClassName="nhapsodudaukytknganhangDataTable" msprop:Generator_TableVarName="tablenhapsodudaukytknganhang" msprop:Generator_TablePropName="nhapsodudaukytknganhang" msprop:Generator_RowDeletingName="nhapsodudaukytknganhangRowDeleting" msprop:Generator_UserTableName="nhapsodudaukytknganhang" msprop:Generator_RowChangingName="nhapsodudaukytknganhangRowChanging" msprop:Generator_RowEvHandlerName="nhapsodudaukytknganhangRowChangeEventHandler" msprop:Generator_RowDeletedName="nhapsodudaukytknganhangRowDeleted" msprop:Generator_RowEvArgName="nhapsodudaukytknganhangRowChangeEvent" msprop:Generator_RowChangedName="nhapsodudaukytknganhangRowChanged" msprop:Generator_RowClassName="nhapsodudaukytknganhangRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="sotaikhoannganhang" msprop:Generator_ColumnVarNameInTable="columnsotaikhoannganhang" msprop:Generator_ColumnPropNameInRow="sotaikhoannganhang" msprop:Generator_ColumnPropNameInTable="sotaikhoannganhangColumn" msprop:Generator_UserColumnName="sotaikhoannganhang">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="nganhang" msprop:Generator_ColumnVarNameInTable="columnnganhang" msprop:Generator_ColumnPropNameInRow="nganhang" msprop:Generator_ColumnPropNameInTable="nganhangColumn" msprop:Generator_UserColumnName="nganhang">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="loaitien" msprop:Generator_ColumnVarNameInTable="columnloaitien" msprop:Generator_ColumnPropNameInRow="loaitien" msprop:Generator_ColumnPropNameInTable="loaitienColumn" msprop:Generator_UserColumnName="loaitien">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="nodaukynguyente" msprop:Generator_ColumnVarNameInTable="columnnodaukynguyente" msprop:Generator_ColumnPropNameInRow="nodaukynguyente" msprop:Generator_ColumnPropNameInTable="nodaukynguyenteColumn" msprop:Generator_UserColumnName="nodaukynguyente" type="xs:decimal" />
              <xs:element name="nodaukyvnd" msprop:Generator_ColumnVarNameInTable="columnnodaukyvnd" msprop:Generator_ColumnPropNameInRow="nodaukyvnd" msprop:Generator_ColumnPropNameInTable="nodaukyvndColumn" msprop:Generator_UserColumnName="nodaukyvnd" type="xs:decimal" />
              <xs:element name="codaukynguyente" msprop:Generator_ColumnVarNameInTable="columncodaukynguyente" msprop:Generator_ColumnPropNameInRow="codaukynguyente" msprop:Generator_ColumnPropNameInTable="codaukynguyenteColumn" msprop:Generator_UserColumnName="codaukynguyente" type="xs:decimal" />
              <xs:element name="codaukyvnd" msprop:Generator_ColumnVarNameInTable="columncodaukyvnd" msprop:Generator_ColumnPropNameInRow="codaukyvnd" msprop:Generator_ColumnPropNameInTable="codaukyvndColumn" msprop:Generator_UserColumnName="codaukyvnd" type="xs:decimal" />
              <xs:element name="tinhtrang" msprop:Generator_ColumnVarNameInTable="columntinhtrang" msprop:Generator_ColumnPropNameInRow="tinhtrang" msprop:Generator_ColumnPropNameInTable="tinhtrangColumn" msprop:Generator_UserColumnName="tinhtrang">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="chinhanh" msprop:Generator_ColumnVarNameInTable="columnchinhanh" msprop:Generator_ColumnPropNameInRow="chinhanh" msprop:Generator_ColumnPropNameInTable="chinhanhColumn" msprop:Generator_UserColumnName="chinhanh" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="id" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnid" msprop:Generator_ColumnPropNameInRow="id" msprop:Generator_ColumnPropNameInTable="idColumn" msprop:Generator_UserColumnName="id" type="xs:decimal" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="dmkhaibaosohoadon1" msprop:Generator_TableClassName="dmkhaibaosohoadon1DataTable" msprop:Generator_TableVarName="tabledmkhaibaosohoadon1" msprop:Generator_TablePropName="dmkhaibaosohoadon1" msprop:Generator_RowDeletingName="dmkhaibaosohoadon1RowDeleting" msprop:Generator_UserTableName="dmkhaibaosohoadon1" msprop:Generator_RowChangingName="dmkhaibaosohoadon1RowChanging" msprop:Generator_RowEvHandlerName="dmkhaibaosohoadon1RowChangeEventHandler" msprop:Generator_RowDeletedName="dmkhaibaosohoadon1RowDeleted" msprop:Generator_RowEvArgName="dmkhaibaosohoadon1RowChangeEvent" msprop:Generator_RowChangedName="dmkhaibaosohoadon1RowChanged" msprop:Generator_RowClassName="dmkhaibaosohoadon1Row">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="kyhieusohoadon" msprop:Generator_ColumnVarNameInTable="columnkyhieusohoadon" msprop:Generator_ColumnPropNameInRow="kyhieusohoadon" msprop:Generator_ColumnPropNameInTable="kyhieusohoadonColumn" msprop:Generator_UserColumnName="kyhieusohoadon">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="sohoadon" msprop:Generator_ColumnVarNameInTable="columnsohoadon" msprop:Generator_ColumnPropNameInRow="sohoadon" msprop:Generator_ColumnPropNameInTable="sohoadonColumn" msprop:Generator_UserColumnName="sohoadon">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="chieudaisohoadon" msprop:Generator_ColumnVarNameInTable="columnchieudaisohoadon" msprop:Generator_ColumnPropNameInRow="chieudaisohoadon" msprop:Generator_ColumnPropNameInTable="chieudaisohoadonColumn" msprop:Generator_UserColumnName="chieudaisohoadon" type="xs:decimal" />
              <xs:element name="tinhtrang" msprop:Generator_ColumnVarNameInTable="columntinhtrang" msprop:Generator_ColumnPropNameInRow="tinhtrang" msprop:Generator_ColumnPropNameInTable="tinhtrangColumn" msprop:Generator_UserColumnName="tinhtrang">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="chinhanh" msprop:Generator_ColumnVarNameInTable="columnchinhanh" msprop:Generator_ColumnPropNameInRow="chinhanh" msprop:Generator_ColumnPropNameInTable="chinhanhColumn" msprop:Generator_UserColumnName="chinhanh" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="id" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnid" msprop:Generator_ColumnPropNameInRow="id" msprop:Generator_ColumnPropNameInTable="idColumn" msprop:Generator_UserColumnName="id" type="xs:decimal" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="dmmauin1" msprop:Generator_TableClassName="dmmauin1DataTable" msprop:Generator_TableVarName="tabledmmauin1" msprop:Generator_TablePropName="dmmauin1" msprop:Generator_RowDeletingName="dmmauin1RowDeleting" msprop:Generator_UserTableName="dmmauin1" msprop:Generator_RowChangingName="dmmauin1RowChanging" msprop:Generator_RowEvHandlerName="dmmauin1RowChangeEventHandler" msprop:Generator_RowDeletedName="dmmauin1RowDeleted" msprop:Generator_RowEvArgName="dmmauin1RowChangeEvent" msprop:Generator_RowChangedName="dmmauin1RowChanged" msprop:Generator_RowClassName="dmmauin1Row">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ma" msprop:Generator_ColumnVarNameInTable="columnma" msprop:Generator_ColumnPropNameInRow="ma" msprop:Generator_ColumnPropNameInTable="maColumn" msprop:Generator_UserColumnName="ma">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ten" msprop:Generator_ColumnVarNameInTable="columnten" msprop:Generator_ColumnPropNameInRow="ten" msprop:Generator_ColumnPropNameInTable="tenColumn" msprop:Generator_UserColumnName="ten">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="500" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="tenreport" msprop:Generator_ColumnVarNameInTable="columntenreport" msprop:Generator_ColumnPropNameInRow="tenreport" msprop:Generator_ColumnPropNameInTable="tenreportColumn" msprop:Generator_UserColumnName="tenreport">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ghichu" msprop:Generator_ColumnVarNameInTable="columnghichu" msprop:Generator_ColumnPropNameInRow="ghichu" msprop:Generator_ColumnPropNameInTable="ghichuColumn" msprop:Generator_UserColumnName="ghichu">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="500" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="tinhtrang" msprop:Generator_ColumnVarNameInTable="columntinhtrang" msprop:Generator_ColumnPropNameInRow="tinhtrang" msprop:Generator_ColumnPropNameInTable="tinhtrangColumn" msprop:Generator_UserColumnName="tinhtrang">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="chinhanh" msprop:Generator_ColumnVarNameInTable="columnchinhanh" msprop:Generator_ColumnPropNameInRow="chinhanh" msprop:Generator_ColumnPropNameInTable="chinhanhColumn" msprop:Generator_UserColumnName="chinhanh" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="id" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnid" msprop:Generator_ColumnPropNameInRow="id" msprop:Generator_ColumnPropNameInTable="idColumn" msprop:Generator_UserColumnName="id" type="xs:decimal" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="dmphuongxa1" msprop:Generator_TableClassName="dmphuongxa1DataTable" msprop:Generator_TableVarName="tabledmphuongxa1" msprop:Generator_TablePropName="dmphuongxa1" msprop:Generator_RowDeletingName="dmphuongxa1RowDeleting" msprop:Generator_UserTableName="dmphuongxa1" msprop:Generator_RowChangingName="dmphuongxa1RowChanging" msprop:Generator_RowEvHandlerName="dmphuongxa1RowChangeEventHandler" msprop:Generator_RowDeletedName="dmphuongxa1RowDeleted" msprop:Generator_RowEvArgName="dmphuongxa1RowChangeEvent" msprop:Generator_RowChangedName="dmphuongxa1RowChanged" msprop:Generator_RowClassName="dmphuongxa1Row">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ma" msprop:Generator_ColumnVarNameInTable="columnma" msprop:Generator_ColumnPropNameInRow="ma" msprop:Generator_ColumnPropNameInTable="maColumn" msprop:Generator_UserColumnName="ma">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ten" msprop:Generator_ColumnVarNameInTable="columnten" msprop:Generator_ColumnPropNameInRow="ten" msprop:Generator_ColumnPropNameInTable="tenColumn" msprop:Generator_UserColumnName="ten">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="500" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="maquocgia" msprop:Generator_ColumnVarNameInTable="columnmaquocgia" msprop:Generator_ColumnPropNameInRow="maquocgia" msprop:Generator_ColumnPropNameInTable="maquocgiaColumn" msprop:Generator_UserColumnName="maquocgia">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="matinhthanh" msprop:Generator_ColumnVarNameInTable="columnmatinhthanh" msprop:Generator_ColumnPropNameInRow="matinhthanh" msprop:Generator_ColumnPropNameInTable="matinhthanhColumn" msprop:Generator_UserColumnName="matinhthanh">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="maquanhuyen" msprop:Generator_ColumnVarNameInTable="columnmaquanhuyen" msprop:Generator_ColumnPropNameInRow="maquanhuyen" msprop:Generator_ColumnPropNameInTable="maquanhuyenColumn" msprop:Generator_UserColumnName="maquanhuyen">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ghichu" msprop:Generator_ColumnVarNameInTable="columnghichu" msprop:Generator_ColumnPropNameInRow="ghichu" msprop:Generator_ColumnPropNameInTable="ghichuColumn" msprop:Generator_UserColumnName="ghichu">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="500" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="tinhtrang" msprop:Generator_ColumnVarNameInTable="columntinhtrang" msprop:Generator_ColumnPropNameInRow="tinhtrang" msprop:Generator_ColumnPropNameInTable="tinhtrangColumn" msprop:Generator_UserColumnName="tinhtrang">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="chinhanh" msprop:Generator_ColumnVarNameInTable="columnchinhanh" msprop:Generator_ColumnPropNameInRow="chinhanh" msprop:Generator_ColumnPropNameInTable="chinhanhColumn" msprop:Generator_UserColumnName="chinhanh" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="id" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnid" msprop:Generator_ColumnPropNameInRow="id" msprop:Generator_ColumnPropNameInTable="idColumn" msprop:Generator_UserColumnName="id" type="xs:decimal" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="dmquanhuyen1" msprop:Generator_TableClassName="dmquanhuyen1DataTable" msprop:Generator_TableVarName="tabledmquanhuyen1" msprop:Generator_TablePropName="dmquanhuyen1" msprop:Generator_RowDeletingName="dmquanhuyen1RowDeleting" msprop:Generator_UserTableName="dmquanhuyen1" msprop:Generator_RowChangingName="dmquanhuyen1RowChanging" msprop:Generator_RowEvHandlerName="dmquanhuyen1RowChangeEventHandler" msprop:Generator_RowDeletedName="dmquanhuyen1RowDeleted" msprop:Generator_RowEvArgName="dmquanhuyen1RowChangeEvent" msprop:Generator_RowChangedName="dmquanhuyen1RowChanged" msprop:Generator_RowClassName="dmquanhuyen1Row">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ma" msprop:Generator_ColumnVarNameInTable="columnma" msprop:Generator_ColumnPropNameInRow="ma" msprop:Generator_ColumnPropNameInTable="maColumn" msprop:Generator_UserColumnName="ma">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ten" msprop:Generator_ColumnVarNameInTable="columnten" msprop:Generator_ColumnPropNameInRow="ten" msprop:Generator_ColumnPropNameInTable="tenColumn" msprop:Generator_UserColumnName="ten">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="500" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="maquocgia" msprop:Generator_ColumnVarNameInTable="columnmaquocgia" msprop:Generator_ColumnPropNameInRow="maquocgia" msprop:Generator_ColumnPropNameInTable="maquocgiaColumn" msprop:Generator_UserColumnName="maquocgia">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="matinhthanh" msprop:Generator_ColumnVarNameInTable="columnmatinhthanh" msprop:Generator_ColumnPropNameInRow="matinhthanh" msprop:Generator_ColumnPropNameInTable="matinhthanhColumn" msprop:Generator_UserColumnName="matinhthanh">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ghichu" msprop:Generator_ColumnVarNameInTable="columnghichu" msprop:Generator_ColumnPropNameInRow="ghichu" msprop:Generator_ColumnPropNameInTable="ghichuColumn" msprop:Generator_UserColumnName="ghichu">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="500" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="tinhtrang" msprop:Generator_ColumnVarNameInTable="columntinhtrang" msprop:Generator_ColumnPropNameInRow="tinhtrang" msprop:Generator_ColumnPropNameInTable="tinhtrangColumn" msprop:Generator_UserColumnName="tinhtrang">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="chinhanh" msprop:Generator_ColumnVarNameInTable="columnchinhanh" msprop:Generator_ColumnPropNameInRow="chinhanh" msprop:Generator_ColumnPropNameInTable="chinhanhColumn" msprop:Generator_UserColumnName="chinhanh" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="id" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnid" msprop:Generator_ColumnPropNameInRow="id" msprop:Generator_ColumnPropNameInTable="idColumn" msprop:Generator_UserColumnName="id" type="xs:decimal" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="dmtygia1" msprop:Generator_TableClassName="dmtygia1DataTable" msprop:Generator_TableVarName="tabledmtygia1" msprop:Generator_TablePropName="dmtygia1" msprop:Generator_RowDeletingName="dmtygia1RowDeleting" msprop:Generator_UserTableName="dmtygia1" msprop:Generator_RowChangingName="dmtygia1RowChanging" msprop:Generator_RowEvHandlerName="dmtygia1RowChangeEventHandler" msprop:Generator_RowDeletedName="dmtygia1RowDeleted" msprop:Generator_RowEvArgName="dmtygia1RowChangeEvent" msprop:Generator_RowChangedName="dmtygia1RowChanged" msprop:Generator_RowClassName="dmtygia1Row">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ngaytygia" msprop:Generator_ColumnVarNameInTable="columnngaytygia" msprop:Generator_ColumnPropNameInRow="ngaytygia" msprop:Generator_ColumnPropNameInTable="ngaytygiaColumn" msprop:Generator_UserColumnName="ngaytygia" type="xs:dateTime" />
              <xs:element name="loaitien" msprop:Generator_ColumnVarNameInTable="columnloaitien" msprop:Generator_ColumnPropNameInRow="loaitien" msprop:Generator_ColumnPropNameInTable="loaitienColumn" msprop:Generator_UserColumnName="loaitien">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="tygia" msprop:Generator_ColumnVarNameInTable="columntygia" msprop:Generator_ColumnPropNameInRow="tygia" msprop:Generator_ColumnPropNameInTable="tygiaColumn" msprop:Generator_UserColumnName="tygia" type="xs:decimal" />
              <xs:element name="ghichu" msprop:Generator_ColumnVarNameInTable="columnghichu" msprop:Generator_ColumnPropNameInRow="ghichu" msprop:Generator_ColumnPropNameInTable="ghichuColumn" msprop:Generator_UserColumnName="ghichu" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="500" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="tinhtrang" msprop:Generator_ColumnVarNameInTable="columntinhtrang" msprop:Generator_ColumnPropNameInRow="tinhtrang" msprop:Generator_ColumnPropNameInTable="tinhtrangColumn" msprop:Generator_UserColumnName="tinhtrang">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="chinhanh" msprop:Generator_ColumnVarNameInTable="columnchinhanh" msprop:Generator_ColumnPropNameInRow="chinhanh" msprop:Generator_ColumnPropNameInTable="chinhanhColumn" msprop:Generator_UserColumnName="chinhanh" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="id" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnid" msprop:Generator_ColumnPropNameInRow="id" msprop:Generator_ColumnPropNameInTable="idColumn" msprop:Generator_UserColumnName="id" type="xs:decimal" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="nhapsodudaukytknganhang1" msprop:Generator_TableClassName="nhapsodudaukytknganhang1DataTable" msprop:Generator_TableVarName="tablenhapsodudaukytknganhang1" msprop:Generator_TablePropName="nhapsodudaukytknganhang1" msprop:Generator_RowDeletingName="nhapsodudaukytknganhang1RowDeleting" msprop:Generator_UserTableName="nhapsodudaukytknganhang1" msprop:Generator_RowChangingName="nhapsodudaukytknganhang1RowChanging" msprop:Generator_RowEvHandlerName="nhapsodudaukytknganhang1RowChangeEventHandler" msprop:Generator_RowDeletedName="nhapsodudaukytknganhang1RowDeleted" msprop:Generator_RowEvArgName="nhapsodudaukytknganhang1RowChangeEvent" msprop:Generator_RowChangedName="nhapsodudaukytknganhang1RowChanged" msprop:Generator_RowClassName="nhapsodudaukytknganhang1Row">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="sotaikhoannganhang" msprop:Generator_ColumnVarNameInTable="columnsotaikhoannganhang" msprop:Generator_ColumnPropNameInRow="sotaikhoannganhang" msprop:Generator_ColumnPropNameInTable="sotaikhoannganhangColumn" msprop:Generator_UserColumnName="sotaikhoannganhang">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="nganhang" msprop:Generator_ColumnVarNameInTable="columnnganhang" msprop:Generator_ColumnPropNameInRow="nganhang" msprop:Generator_ColumnPropNameInTable="nganhangColumn" msprop:Generator_UserColumnName="nganhang">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="loaitien" msprop:Generator_ColumnVarNameInTable="columnloaitien" msprop:Generator_ColumnPropNameInRow="loaitien" msprop:Generator_ColumnPropNameInTable="loaitienColumn" msprop:Generator_UserColumnName="loaitien">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="nodaukynguyente" msprop:Generator_ColumnVarNameInTable="columnnodaukynguyente" msprop:Generator_ColumnPropNameInRow="nodaukynguyente" msprop:Generator_ColumnPropNameInTable="nodaukynguyenteColumn" msprop:Generator_UserColumnName="nodaukynguyente" type="xs:decimal" />
              <xs:element name="nodaukyvnd" msprop:Generator_ColumnVarNameInTable="columnnodaukyvnd" msprop:Generator_ColumnPropNameInRow="nodaukyvnd" msprop:Generator_ColumnPropNameInTable="nodaukyvndColumn" msprop:Generator_UserColumnName="nodaukyvnd" type="xs:decimal" />
              <xs:element name="codaukynguyente" msprop:Generator_ColumnVarNameInTable="columncodaukynguyente" msprop:Generator_ColumnPropNameInRow="codaukynguyente" msprop:Generator_ColumnPropNameInTable="codaukynguyenteColumn" msprop:Generator_UserColumnName="codaukynguyente" type="xs:decimal" />
              <xs:element name="codaukyvnd" msprop:Generator_ColumnVarNameInTable="columncodaukyvnd" msprop:Generator_ColumnPropNameInRow="codaukyvnd" msprop:Generator_ColumnPropNameInTable="codaukyvndColumn" msprop:Generator_UserColumnName="codaukyvnd" type="xs:decimal" />
              <xs:element name="tinhtrang" msprop:Generator_ColumnVarNameInTable="columntinhtrang" msprop:Generator_ColumnPropNameInRow="tinhtrang" msprop:Generator_ColumnPropNameInTable="tinhtrangColumn" msprop:Generator_UserColumnName="tinhtrang">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="chinhanh" msprop:Generator_ColumnVarNameInTable="columnchinhanh" msprop:Generator_ColumnPropNameInRow="chinhanh" msprop:Generator_ColumnPropNameInTable="chinhanhColumn" msprop:Generator_UserColumnName="chinhanh" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="id" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnid" msprop:Generator_ColumnPropNameInRow="id" msprop:Generator_ColumnPropNameInTable="idColumn" msprop:Generator_UserColumnName="id" type="xs:decimal" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="dmkhaibaosohoadon2" msprop:Generator_TableClassName="dmkhaibaosohoadon2DataTable" msprop:Generator_TableVarName="tabledmkhaibaosohoadon2" msprop:Generator_TablePropName="dmkhaibaosohoadon2" msprop:Generator_RowDeletingName="dmkhaibaosohoadon2RowDeleting" msprop:Generator_UserTableName="dmkhaibaosohoadon2" msprop:Generator_RowChangingName="dmkhaibaosohoadon2RowChanging" msprop:Generator_RowEvHandlerName="dmkhaibaosohoadon2RowChangeEventHandler" msprop:Generator_RowDeletedName="dmkhaibaosohoadon2RowDeleted" msprop:Generator_RowEvArgName="dmkhaibaosohoadon2RowChangeEvent" msprop:Generator_RowChangedName="dmkhaibaosohoadon2RowChanged" msprop:Generator_RowClassName="dmkhaibaosohoadon2Row">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="kyhieusohoadon" msprop:Generator_ColumnVarNameInTable="columnkyhieusohoadon" msprop:Generator_ColumnPropNameInRow="kyhieusohoadon" msprop:Generator_ColumnPropNameInTable="kyhieusohoadonColumn" msprop:Generator_UserColumnName="kyhieusohoadon">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="sohoadon" msprop:Generator_ColumnVarNameInTable="columnsohoadon" msprop:Generator_ColumnPropNameInRow="sohoadon" msprop:Generator_ColumnPropNameInTable="sohoadonColumn" msprop:Generator_UserColumnName="sohoadon">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="chieudaisohoadon" msprop:Generator_ColumnVarNameInTable="columnchieudaisohoadon" msprop:Generator_ColumnPropNameInRow="chieudaisohoadon" msprop:Generator_ColumnPropNameInTable="chieudaisohoadonColumn" msprop:Generator_UserColumnName="chieudaisohoadon" type="xs:decimal" />
              <xs:element name="tinhtrang" msprop:Generator_ColumnVarNameInTable="columntinhtrang" msprop:Generator_ColumnPropNameInRow="tinhtrang" msprop:Generator_ColumnPropNameInTable="tinhtrangColumn" msprop:Generator_UserColumnName="tinhtrang">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="chinhanh" msprop:Generator_ColumnVarNameInTable="columnchinhanh" msprop:Generator_ColumnPropNameInRow="chinhanh" msprop:Generator_ColumnPropNameInTable="chinhanhColumn" msprop:Generator_UserColumnName="chinhanh" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="id" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnid" msprop:Generator_ColumnPropNameInRow="id" msprop:Generator_ColumnPropNameInTable="idColumn" msprop:Generator_UserColumnName="id" type="xs:decimal" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="dmmauin2" msprop:Generator_TableClassName="dmmauin2DataTable" msprop:Generator_TableVarName="tabledmmauin2" msprop:Generator_TablePropName="dmmauin2" msprop:Generator_RowDeletingName="dmmauin2RowDeleting" msprop:Generator_UserTableName="dmmauin2" msprop:Generator_RowChangingName="dmmauin2RowChanging" msprop:Generator_RowEvHandlerName="dmmauin2RowChangeEventHandler" msprop:Generator_RowDeletedName="dmmauin2RowDeleted" msprop:Generator_RowEvArgName="dmmauin2RowChangeEvent" msprop:Generator_RowChangedName="dmmauin2RowChanged" msprop:Generator_RowClassName="dmmauin2Row">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ma" msprop:Generator_ColumnVarNameInTable="columnma" msprop:Generator_ColumnPropNameInRow="ma" msprop:Generator_ColumnPropNameInTable="maColumn" msprop:Generator_UserColumnName="ma">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ten" msprop:Generator_ColumnVarNameInTable="columnten" msprop:Generator_ColumnPropNameInRow="ten" msprop:Generator_ColumnPropNameInTable="tenColumn" msprop:Generator_UserColumnName="ten">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="500" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="tenreport" msprop:Generator_ColumnVarNameInTable="columntenreport" msprop:Generator_ColumnPropNameInRow="tenreport" msprop:Generator_ColumnPropNameInTable="tenreportColumn" msprop:Generator_UserColumnName="tenreport">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ghichu" msprop:Generator_ColumnVarNameInTable="columnghichu" msprop:Generator_ColumnPropNameInRow="ghichu" msprop:Generator_ColumnPropNameInTable="ghichuColumn" msprop:Generator_UserColumnName="ghichu">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="500" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="tinhtrang" msprop:Generator_ColumnVarNameInTable="columntinhtrang" msprop:Generator_ColumnPropNameInRow="tinhtrang" msprop:Generator_ColumnPropNameInTable="tinhtrangColumn" msprop:Generator_UserColumnName="tinhtrang">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="chinhanh" msprop:Generator_ColumnVarNameInTable="columnchinhanh" msprop:Generator_ColumnPropNameInRow="chinhanh" msprop:Generator_ColumnPropNameInTable="chinhanhColumn" msprop:Generator_UserColumnName="chinhanh" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="id" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnid" msprop:Generator_ColumnPropNameInRow="id" msprop:Generator_ColumnPropNameInTable="idColumn" msprop:Generator_UserColumnName="id" type="xs:decimal" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="dmphuongxa2" msprop:Generator_TableClassName="dmphuongxa2DataTable" msprop:Generator_TableVarName="tabledmphuongxa2" msprop:Generator_TablePropName="dmphuongxa2" msprop:Generator_RowDeletingName="dmphuongxa2RowDeleting" msprop:Generator_UserTableName="dmphuongxa2" msprop:Generator_RowChangingName="dmphuongxa2RowChanging" msprop:Generator_RowEvHandlerName="dmphuongxa2RowChangeEventHandler" msprop:Generator_RowDeletedName="dmphuongxa2RowDeleted" msprop:Generator_RowEvArgName="dmphuongxa2RowChangeEvent" msprop:Generator_RowChangedName="dmphuongxa2RowChanged" msprop:Generator_RowClassName="dmphuongxa2Row">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ma" msprop:Generator_ColumnVarNameInTable="columnma" msprop:Generator_ColumnPropNameInRow="ma" msprop:Generator_ColumnPropNameInTable="maColumn" msprop:Generator_UserColumnName="ma">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ten" msprop:Generator_ColumnVarNameInTable="columnten" msprop:Generator_ColumnPropNameInRow="ten" msprop:Generator_ColumnPropNameInTable="tenColumn" msprop:Generator_UserColumnName="ten">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="500" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="maquocgia" msprop:Generator_ColumnVarNameInTable="columnmaquocgia" msprop:Generator_ColumnPropNameInRow="maquocgia" msprop:Generator_ColumnPropNameInTable="maquocgiaColumn" msprop:Generator_UserColumnName="maquocgia">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="matinhthanh" msprop:Generator_ColumnVarNameInTable="columnmatinhthanh" msprop:Generator_ColumnPropNameInRow="matinhthanh" msprop:Generator_ColumnPropNameInTable="matinhthanhColumn" msprop:Generator_UserColumnName="matinhthanh">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="maquanhuyen" msprop:Generator_ColumnVarNameInTable="columnmaquanhuyen" msprop:Generator_ColumnPropNameInRow="maquanhuyen" msprop:Generator_ColumnPropNameInTable="maquanhuyenColumn" msprop:Generator_UserColumnName="maquanhuyen">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ghichu" msprop:Generator_ColumnVarNameInTable="columnghichu" msprop:Generator_ColumnPropNameInRow="ghichu" msprop:Generator_ColumnPropNameInTable="ghichuColumn" msprop:Generator_UserColumnName="ghichu">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="500" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="tinhtrang" msprop:Generator_ColumnVarNameInTable="columntinhtrang" msprop:Generator_ColumnPropNameInRow="tinhtrang" msprop:Generator_ColumnPropNameInTable="tinhtrangColumn" msprop:Generator_UserColumnName="tinhtrang">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="chinhanh" msprop:Generator_ColumnVarNameInTable="columnchinhanh" msprop:Generator_ColumnPropNameInRow="chinhanh" msprop:Generator_ColumnPropNameInTable="chinhanhColumn" msprop:Generator_UserColumnName="chinhanh" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="id" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnid" msprop:Generator_ColumnPropNameInRow="id" msprop:Generator_ColumnPropNameInTable="idColumn" msprop:Generator_UserColumnName="id" type="xs:decimal" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="dmquanhuyen2" msprop:Generator_TableClassName="dmquanhuyen2DataTable" msprop:Generator_TableVarName="tabledmquanhuyen2" msprop:Generator_TablePropName="dmquanhuyen2" msprop:Generator_RowDeletingName="dmquanhuyen2RowDeleting" msprop:Generator_UserTableName="dmquanhuyen2" msprop:Generator_RowChangingName="dmquanhuyen2RowChanging" msprop:Generator_RowEvHandlerName="dmquanhuyen2RowChangeEventHandler" msprop:Generator_RowDeletedName="dmquanhuyen2RowDeleted" msprop:Generator_RowEvArgName="dmquanhuyen2RowChangeEvent" msprop:Generator_RowChangedName="dmquanhuyen2RowChanged" msprop:Generator_RowClassName="dmquanhuyen2Row">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ma" msprop:Generator_ColumnVarNameInTable="columnma" msprop:Generator_ColumnPropNameInRow="ma" msprop:Generator_ColumnPropNameInTable="maColumn" msprop:Generator_UserColumnName="ma">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ten" msprop:Generator_ColumnVarNameInTable="columnten" msprop:Generator_ColumnPropNameInRow="ten" msprop:Generator_ColumnPropNameInTable="tenColumn" msprop:Generator_UserColumnName="ten">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="500" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="maquocgia" msprop:Generator_ColumnVarNameInTable="columnmaquocgia" msprop:Generator_ColumnPropNameInRow="maquocgia" msprop:Generator_ColumnPropNameInTable="maquocgiaColumn" msprop:Generator_UserColumnName="maquocgia">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="matinhthanh" msprop:Generator_ColumnVarNameInTable="columnmatinhthanh" msprop:Generator_ColumnPropNameInRow="matinhthanh" msprop:Generator_ColumnPropNameInTable="matinhthanhColumn" msprop:Generator_UserColumnName="matinhthanh">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ghichu" msprop:Generator_ColumnVarNameInTable="columnghichu" msprop:Generator_ColumnPropNameInRow="ghichu" msprop:Generator_ColumnPropNameInTable="ghichuColumn" msprop:Generator_UserColumnName="ghichu">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="500" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="tinhtrang" msprop:Generator_ColumnVarNameInTable="columntinhtrang" msprop:Generator_ColumnPropNameInRow="tinhtrang" msprop:Generator_ColumnPropNameInTable="tinhtrangColumn" msprop:Generator_UserColumnName="tinhtrang">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="chinhanh" msprop:Generator_ColumnVarNameInTable="columnchinhanh" msprop:Generator_ColumnPropNameInRow="chinhanh" msprop:Generator_ColumnPropNameInTable="chinhanhColumn" msprop:Generator_UserColumnName="chinhanh" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="id" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnid" msprop:Generator_ColumnPropNameInRow="id" msprop:Generator_ColumnPropNameInTable="idColumn" msprop:Generator_UserColumnName="id" type="xs:decimal" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="dmtygia2" msprop:Generator_TableClassName="dmtygia2DataTable" msprop:Generator_TableVarName="tabledmtygia2" msprop:Generator_TablePropName="dmtygia2" msprop:Generator_RowDeletingName="dmtygia2RowDeleting" msprop:Generator_UserTableName="dmtygia2" msprop:Generator_RowChangingName="dmtygia2RowChanging" msprop:Generator_RowEvHandlerName="dmtygia2RowChangeEventHandler" msprop:Generator_RowDeletedName="dmtygia2RowDeleted" msprop:Generator_RowEvArgName="dmtygia2RowChangeEvent" msprop:Generator_RowChangedName="dmtygia2RowChanged" msprop:Generator_RowClassName="dmtygia2Row">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ngaytygia" msprop:Generator_ColumnVarNameInTable="columnngaytygia" msprop:Generator_ColumnPropNameInRow="ngaytygia" msprop:Generator_ColumnPropNameInTable="ngaytygiaColumn" msprop:Generator_UserColumnName="ngaytygia" type="xs:dateTime" />
              <xs:element name="loaitien" msprop:Generator_ColumnVarNameInTable="columnloaitien" msprop:Generator_ColumnPropNameInRow="loaitien" msprop:Generator_ColumnPropNameInTable="loaitienColumn" msprop:Generator_UserColumnName="loaitien">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="tygia" msprop:Generator_ColumnVarNameInTable="columntygia" msprop:Generator_ColumnPropNameInRow="tygia" msprop:Generator_ColumnPropNameInTable="tygiaColumn" msprop:Generator_UserColumnName="tygia" type="xs:decimal" />
              <xs:element name="ghichu" msprop:Generator_ColumnVarNameInTable="columnghichu" msprop:Generator_ColumnPropNameInRow="ghichu" msprop:Generator_ColumnPropNameInTable="ghichuColumn" msprop:Generator_UserColumnName="ghichu" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="500" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="tinhtrang" msprop:Generator_ColumnVarNameInTable="columntinhtrang" msprop:Generator_ColumnPropNameInRow="tinhtrang" msprop:Generator_ColumnPropNameInTable="tinhtrangColumn" msprop:Generator_UserColumnName="tinhtrang">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="chinhanh" msprop:Generator_ColumnVarNameInTable="columnchinhanh" msprop:Generator_ColumnPropNameInRow="chinhanh" msprop:Generator_ColumnPropNameInTable="chinhanhColumn" msprop:Generator_UserColumnName="chinhanh" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="id" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnid" msprop:Generator_ColumnPropNameInRow="id" msprop:Generator_ColumnPropNameInTable="idColumn" msprop:Generator_UserColumnName="id" type="xs:decimal" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="nhapsodudaukytknganhang2" msprop:Generator_TableClassName="nhapsodudaukytknganhang2DataTable" msprop:Generator_TableVarName="tablenhapsodudaukytknganhang2" msprop:Generator_TablePropName="nhapsodudaukytknganhang2" msprop:Generator_RowDeletingName="nhapsodudaukytknganhang2RowDeleting" msprop:Generator_UserTableName="nhapsodudaukytknganhang2" msprop:Generator_RowChangingName="nhapsodudaukytknganhang2RowChanging" msprop:Generator_RowEvHandlerName="nhapsodudaukytknganhang2RowChangeEventHandler" msprop:Generator_RowDeletedName="nhapsodudaukytknganhang2RowDeleted" msprop:Generator_RowEvArgName="nhapsodudaukytknganhang2RowChangeEvent" msprop:Generator_RowChangedName="nhapsodudaukytknganhang2RowChanged" msprop:Generator_RowClassName="nhapsodudaukytknganhang2Row">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="sotaikhoannganhang" msprop:Generator_ColumnVarNameInTable="columnsotaikhoannganhang" msprop:Generator_ColumnPropNameInRow="sotaikhoannganhang" msprop:Generator_ColumnPropNameInTable="sotaikhoannganhangColumn" msprop:Generator_UserColumnName="sotaikhoannganhang">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="nganhang" msprop:Generator_ColumnVarNameInTable="columnnganhang" msprop:Generator_ColumnPropNameInRow="nganhang" msprop:Generator_ColumnPropNameInTable="nganhangColumn" msprop:Generator_UserColumnName="nganhang">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="loaitien" msprop:Generator_ColumnVarNameInTable="columnloaitien" msprop:Generator_ColumnPropNameInRow="loaitien" msprop:Generator_ColumnPropNameInTable="loaitienColumn" msprop:Generator_UserColumnName="loaitien">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="nodaukynguyente" msprop:Generator_ColumnVarNameInTable="columnnodaukynguyente" msprop:Generator_ColumnPropNameInRow="nodaukynguyente" msprop:Generator_ColumnPropNameInTable="nodaukynguyenteColumn" msprop:Generator_UserColumnName="nodaukynguyente" type="xs:decimal" />
              <xs:element name="nodaukyvnd" msprop:Generator_ColumnVarNameInTable="columnnodaukyvnd" msprop:Generator_ColumnPropNameInRow="nodaukyvnd" msprop:Generator_ColumnPropNameInTable="nodaukyvndColumn" msprop:Generator_UserColumnName="nodaukyvnd" type="xs:decimal" />
              <xs:element name="codaukynguyente" msprop:Generator_ColumnVarNameInTable="columncodaukynguyente" msprop:Generator_ColumnPropNameInRow="codaukynguyente" msprop:Generator_ColumnPropNameInTable="codaukynguyenteColumn" msprop:Generator_UserColumnName="codaukynguyente" type="xs:decimal" />
              <xs:element name="codaukyvnd" msprop:Generator_ColumnVarNameInTable="columncodaukyvnd" msprop:Generator_ColumnPropNameInRow="codaukyvnd" msprop:Generator_ColumnPropNameInTable="codaukyvndColumn" msprop:Generator_UserColumnName="codaukyvnd" type="xs:decimal" />
              <xs:element name="tinhtrang" msprop:Generator_ColumnVarNameInTable="columntinhtrang" msprop:Generator_ColumnPropNameInRow="tinhtrang" msprop:Generator_ColumnPropNameInTable="tinhtrangColumn" msprop:Generator_UserColumnName="tinhtrang">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="chinhanh" msprop:Generator_ColumnVarNameInTable="columnchinhanh" msprop:Generator_ColumnPropNameInRow="chinhanh" msprop:Generator_ColumnPropNameInTable="chinhanhColumn" msprop:Generator_UserColumnName="chinhanh" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="id" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnid" msprop:Generator_ColumnPropNameInRow="id" msprop:Generator_ColumnPropNameInTable="idColumn" msprop:Generator_UserColumnName="id" type="xs:decimal" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="dmlapuynhiemchi" msprop:Generator_TableClassName="dmlapuynhiemchiDataTable" msprop:Generator_TableVarName="tabledmlapuynhiemchi" msprop:Generator_TablePropName="dmlapuynhiemchi" msprop:Generator_RowDeletingName="dmlapuynhiemchiRowDeleting" msprop:Generator_UserTableName="dmlapuynhiemchi" msprop:Generator_RowChangingName="dmlapuynhiemchiRowChanging" msprop:Generator_RowEvHandlerName="dmlapuynhiemchiRowChangeEventHandler" msprop:Generator_RowDeletedName="dmlapuynhiemchiRowDeleted" msprop:Generator_RowEvArgName="dmlapuynhiemchiRowChangeEvent" msprop:Generator_RowChangedName="dmlapuynhiemchiRowChanged" msprop:Generator_RowClassName="dmlapuynhiemchiRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ngaylap" msprop:Generator_ColumnVarNameInTable="columnngaylap" msprop:Generator_ColumnPropNameInRow="ngaylap" msprop:Generator_ColumnPropNameInTable="ngaylapColumn" msprop:Generator_UserColumnName="ngaylap" type="xs:dateTime" />
              <xs:element name="loaichungtu" msprop:Generator_ColumnVarNameInTable="columnloaichungtu" msprop:Generator_ColumnPropNameInRow="loaichungtu" msprop:Generator_ColumnPropNameInTable="loaichungtuColumn" msprop:Generator_UserColumnName="loaichungtu">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="sochungtu" msprop:Generator_ColumnVarNameInTable="columnsochungtu" msprop:Generator_ColumnPropNameInRow="sochungtu" msprop:Generator_ColumnPropNameInTable="sochungtuColumn" msprop:Generator_UserColumnName="sochungtu">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="mauin" msprop:Generator_ColumnVarNameInTable="columnmauin" msprop:Generator_ColumnPropNameInRow="mauin" msprop:Generator_ColumnPropNameInTable="mauinColumn" msprop:Generator_UserColumnName="mauin">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="taikhoannganhang" msprop:Generator_ColumnVarNameInTable="columntaikhoannganhang" msprop:Generator_ColumnPropNameInRow="taikhoannganhang" msprop:Generator_ColumnPropNameInTable="taikhoannganhangColumn" msprop:Generator_UserColumnName="taikhoannganhang">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="tendvnhantien" msprop:Generator_ColumnVarNameInTable="columntendvnhantien" msprop:Generator_ColumnPropNameInRow="tendvnhantien" msprop:Generator_ColumnPropNameInTable="tendvnhantienColumn" msprop:Generator_UserColumnName="tendvnhantien">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="taikhoannganhangdv" msprop:Generator_ColumnVarNameInTable="columntaikhoannganhangdv" msprop:Generator_ColumnPropNameInRow="taikhoannganhangdv" msprop:Generator_ColumnPropNameInTable="taikhoannganhangdvColumn" msprop:Generator_UserColumnName="taikhoannganhangdv">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="nganhangdv" msprop:Generator_ColumnVarNameInTable="columnnganhangdv" msprop:Generator_ColumnPropNameInRow="nganhangdv" msprop:Generator_ColumnPropNameInTable="nganhangdvColumn" msprop:Generator_UserColumnName="nganhangdv">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="tinhthanh" msprop:Generator_ColumnVarNameInTable="columntinhthanh" msprop:Generator_ColumnPropNameInRow="tinhthanh" msprop:Generator_ColumnPropNameInTable="tinhthanhColumn" msprop:Generator_UserColumnName="tinhthanh">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="sotienthanhtoan" msprop:Generator_ColumnVarNameInTable="columnsotienthanhtoan" msprop:Generator_ColumnPropNameInRow="sotienthanhtoan" msprop:Generator_ColumnPropNameInTable="sotienthanhtoanColumn" msprop:Generator_UserColumnName="sotienthanhtoan" type="xs:decimal" />
              <xs:element name="loaitien" msprop:Generator_ColumnVarNameInTable="columnloaitien" msprop:Generator_ColumnPropNameInRow="loaitien" msprop:Generator_ColumnPropNameInTable="loaitienColumn" msprop:Generator_UserColumnName="loaitien">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="noidungthanhtoan" msprop:Generator_ColumnVarNameInTable="columnnoidungthanhtoan" msprop:Generator_ColumnPropNameInRow="noidungthanhtoan" msprop:Generator_ColumnPropNameInTable="noidungthanhtoanColumn" msprop:Generator_UserColumnName="noidungthanhtoan">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="500" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="tinhtrang" msprop:Generator_ColumnVarNameInTable="columntinhtrang" msprop:Generator_ColumnPropNameInRow="tinhtrang" msprop:Generator_ColumnPropNameInTable="tinhtrangColumn" msprop:Generator_UserColumnName="tinhtrang">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="chinhanh" msprop:Generator_ColumnVarNameInTable="columnchinhanh" msprop:Generator_ColumnPropNameInRow="chinhanh" msprop:Generator_ColumnPropNameInTable="chinhanhColumn" msprop:Generator_UserColumnName="chinhanh" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="id" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnid" msprop:Generator_ColumnPropNameInRow="id" msprop:Generator_ColumnPropNameInTable="idColumn" msprop:Generator_UserColumnName="id" type="xs:decimal" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="dmtinhthanh" msprop:Generator_TableClassName="dmtinhthanhDataTable" msprop:Generator_TableVarName="tabledmtinhthanh" msprop:Generator_TablePropName="dmtinhthanh" msprop:Generator_RowDeletingName="dmtinhthanhRowDeleting" msprop:Generator_UserTableName="dmtinhthanh" msprop:Generator_RowChangingName="dmtinhthanhRowChanging" msprop:Generator_RowEvHandlerName="dmtinhthanhRowChangeEventHandler" msprop:Generator_RowDeletedName="dmtinhthanhRowDeleted" msprop:Generator_RowEvArgName="dmtinhthanhRowChangeEvent" msprop:Generator_RowChangedName="dmtinhthanhRowChanged" msprop:Generator_RowClassName="dmtinhthanhRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ma" msprop:Generator_ColumnVarNameInTable="columnma" msprop:Generator_ColumnPropNameInRow="ma" msprop:Generator_ColumnPropNameInTable="maColumn" msprop:Generator_UserColumnName="ma">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ten" msprop:Generator_ColumnVarNameInTable="columnten" msprop:Generator_ColumnPropNameInRow="ten" msprop:Generator_ColumnPropNameInTable="tenColumn" msprop:Generator_UserColumnName="ten">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="500" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="maquocgia" msprop:Generator_ColumnVarNameInTable="columnmaquocgia" msprop:Generator_ColumnPropNameInRow="maquocgia" msprop:Generator_ColumnPropNameInTable="maquocgiaColumn" msprop:Generator_UserColumnName="maquocgia">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ghichu" msprop:Generator_ColumnVarNameInTable="columnghichu" msprop:Generator_ColumnPropNameInRow="ghichu" msprop:Generator_ColumnPropNameInTable="ghichuColumn" msprop:Generator_UserColumnName="ghichu" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="500" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="id" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnid" msprop:Generator_ColumnPropNameInRow="id" msprop:Generator_ColumnPropNameInTable="idColumn" msprop:Generator_UserColumnName="id" type="xs:decimal" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="dmloainhanvien" msprop:Generator_TableClassName="dmloainhanvienDataTable" msprop:Generator_TableVarName="tabledmloainhanvien" msprop:Generator_TablePropName="dmloainhanvien" msprop:Generator_RowDeletingName="dmloainhanvienRowDeleting" msprop:Generator_UserTableName="dmloainhanvien" msprop:Generator_RowChangingName="dmloainhanvienRowChanging" msprop:Generator_RowEvHandlerName="dmloainhanvienRowChangeEventHandler" msprop:Generator_RowDeletedName="dmloainhanvienRowDeleted" msprop:Generator_RowEvArgName="dmloainhanvienRowChangeEvent" msprop:Generator_RowChangedName="dmloainhanvienRowChanged" msprop:Generator_RowClassName="dmloainhanvienRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ma" msprop:Generator_ColumnVarNameInTable="columnma" msprop:Generator_ColumnPropNameInRow="ma" msprop:Generator_ColumnPropNameInTable="maColumn" msprop:Generator_UserColumnName="ma">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ten" msprop:Generator_ColumnVarNameInTable="columnten" msprop:Generator_ColumnPropNameInRow="ten" msprop:Generator_ColumnPropNameInTable="tenColumn" msprop:Generator_UserColumnName="ten">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="500" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ghichu" msprop:Generator_ColumnVarNameInTable="columnghichu" msprop:Generator_ColumnPropNameInRow="ghichu" msprop:Generator_ColumnPropNameInTable="ghichuColumn" msprop:Generator_UserColumnName="ghichu" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="500" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="id" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnid" msprop:Generator_ColumnPropNameInRow="id" msprop:Generator_ColumnPropNameInTable="idColumn" msprop:Generator_UserColumnName="id" type="xs:decimal" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="dmnhanvien" msprop:Generator_TableClassName="dmnhanvienDataTable" msprop:Generator_TableVarName="tabledmnhanvien" msprop:Generator_TablePropName="dmnhanvien" msprop:Generator_RowDeletingName="dmnhanvienRowDeleting" msprop:Generator_UserTableName="dmnhanvien" msprop:Generator_RowChangingName="dmnhanvienRowChanging" msprop:Generator_RowEvHandlerName="dmnhanvienRowChangeEventHandler" msprop:Generator_RowDeletedName="dmnhanvienRowDeleted" msprop:Generator_RowEvArgName="dmnhanvienRowChangeEvent" msprop:Generator_RowChangedName="dmnhanvienRowChanged" msprop:Generator_RowClassName="dmnhanvienRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ma" msprop:Generator_ColumnVarNameInTable="columnma" msprop:Generator_ColumnPropNameInRow="ma" msprop:Generator_ColumnPropNameInTable="maColumn" msprop:Generator_UserColumnName="ma">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ten" msprop:Generator_ColumnVarNameInTable="columnten" msprop:Generator_ColumnPropNameInRow="ten" msprop:Generator_ColumnPropNameInTable="tenColumn" msprop:Generator_UserColumnName="ten">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="200" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="bophan" msprop:Generator_ColumnVarNameInTable="columnbophan" msprop:Generator_ColumnPropNameInRow="bophan" msprop:Generator_ColumnPropNameInTable="bophanColumn" msprop:Generator_UserColumnName="bophan">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="loainhanvien" msprop:Generator_ColumnVarNameInTable="columnloainhanvien" msprop:Generator_ColumnPropNameInRow="loainhanvien" msprop:Generator_ColumnPropNameInTable="loainhanvienColumn" msprop:Generator_UserColumnName="loainhanvien">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ghichu" msprop:Generator_ColumnVarNameInTable="columnghichu" msprop:Generator_ColumnPropNameInRow="ghichu" msprop:Generator_ColumnPropNameInTable="ghichuColumn" msprop:Generator_UserColumnName="ghichu" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="500" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="id" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnid" msprop:Generator_ColumnPropNameInRow="id" msprop:Generator_ColumnPropNameInTable="idColumn" msprop:Generator_UserColumnName="id" type="xs:decimal" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="dmtaikhoancap2" msprop:Generator_TableClassName="dmtaikhoancap2DataTable" msprop:Generator_TableVarName="tabledmtaikhoancap2" msprop:Generator_TablePropName="dmtaikhoancap2" msprop:Generator_RowDeletingName="dmtaikhoancap2RowDeleting" msprop:Generator_UserTableName="dmtaikhoancap2" msprop:Generator_RowChangingName="dmtaikhoancap2RowChanging" msprop:Generator_RowEvHandlerName="dmtaikhoancap2RowChangeEventHandler" msprop:Generator_RowDeletedName="dmtaikhoancap2RowDeleted" msprop:Generator_RowEvArgName="dmtaikhoancap2RowChangeEvent" msprop:Generator_RowChangedName="dmtaikhoancap2RowChanged" msprop:Generator_RowClassName="dmtaikhoancap2Row">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ma" msprop:Generator_ColumnVarNameInTable="columnma" msprop:Generator_ColumnPropNameInRow="ma" msprop:Generator_ColumnPropNameInTable="maColumn" msprop:Generator_UserColumnName="ma">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ten" msprop:Generator_ColumnVarNameInTable="columnten" msprop:Generator_ColumnPropNameInRow="ten" msprop:Generator_ColumnPropNameInTable="tenColumn" msprop:Generator_UserColumnName="ten" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="200" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="matkcha" msprop:Generator_ColumnVarNameInTable="columnmatkcha" msprop:Generator_ColumnPropNameInRow="matkcha" msprop:Generator_ColumnPropNameInTable="matkchaColumn" msprop:Generator_UserColumnName="matkcha" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="donvisudung" msprop:Generator_TableClassName="donvisudungDataTable" msprop:Generator_TableVarName="tabledonvisudung" msprop:Generator_TablePropName="donvisudung" msprop:Generator_RowDeletingName="donvisudungRowDeleting" msprop:Generator_UserTableName="donvisudung" msprop:Generator_RowChangingName="donvisudungRowChanging" msprop:Generator_RowEvHandlerName="donvisudungRowChangeEventHandler" msprop:Generator_RowDeletedName="donvisudungRowDeleted" msprop:Generator_RowEvArgName="donvisudungRowChangeEvent" msprop:Generator_RowChangedName="donvisudungRowChanged" msprop:Generator_RowClassName="donvisudungRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ten" msprop:Generator_ColumnVarNameInTable="columnten" msprop:Generator_ColumnPropNameInRow="ten" msprop:Generator_ColumnPropNameInTable="tenColumn" msprop:Generator_UserColumnName="ten">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="500" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="diachi" msprop:Generator_ColumnVarNameInTable="columndiachi" msprop:Generator_ColumnPropNameInRow="diachi" msprop:Generator_ColumnPropNameInTable="diachiColumn" msprop:Generator_UserColumnName="diachi">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="500" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="logo" msprop:Generator_ColumnVarNameInTable="columnlogo" msprop:Generator_ColumnPropNameInRow="logo" msprop:Generator_ColumnPropNameInTable="logoColumn" msprop:Generator_UserColumnName="logo" type="xs:base64Binary" />
              <xs:element name="dienthoai" msprop:Generator_ColumnVarNameInTable="columndienthoai" msprop:Generator_ColumnPropNameInRow="dienthoai" msprop:Generator_ColumnPropNameInTable="dienthoaiColumn" msprop:Generator_UserColumnName="dienthoai" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="200" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="fax" msprop:Generator_ColumnVarNameInTable="columnfax" msprop:Generator_ColumnPropNameInRow="fax" msprop:Generator_ColumnPropNameInTable="faxColumn" msprop:Generator_UserColumnName="fax" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="200" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="email" msprop:Generator_ColumnVarNameInTable="columnemail" msprop:Generator_ColumnPropNameInRow="email" msprop:Generator_ColumnPropNameInTable="emailColumn" msprop:Generator_UserColumnName="email" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="200" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="httiento1" msprop:Generator_TableClassName="httiento1DataTable" msprop:Generator_TableVarName="tablehttiento1" msprop:Generator_TablePropName="httiento1" msprop:Generator_RowDeletingName="httiento1RowDeleting" msprop:Generator_UserTableName="httiento1" msprop:Generator_RowChangingName="httiento1RowChanging" msprop:Generator_RowEvHandlerName="httiento1RowChangeEventHandler" msprop:Generator_RowDeletedName="httiento1RowDeleted" msprop:Generator_RowEvArgName="httiento1RowChangeEvent" msprop:Generator_RowChangedName="httiento1RowChanged" msprop:Generator_RowClassName="httiento1Row">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="tenbang" msprop:Generator_ColumnVarNameInTable="columntenbang" msprop:Generator_ColumnPropNameInRow="tenbang" msprop:Generator_ColumnPropNameInTable="tenbangColumn" msprop:Generator_UserColumnName="tenbang">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="tiento" msprop:Generator_ColumnVarNameInTable="columntiento" msprop:Generator_ColumnPropNameInRow="tiento" msprop:Generator_ColumnPropNameInTable="tientoColumn" msprop:Generator_UserColumnName="tiento">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="id" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnid" msprop:Generator_ColumnPropNameInRow="id" msprop:Generator_ColumnPropNameInTable="idColumn" msprop:Generator_UserColumnName="id" type="xs:decimal" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="httiento2" msprop:Generator_TableClassName="httiento2DataTable" msprop:Generator_TableVarName="tablehttiento2" msprop:Generator_TablePropName="httiento2" msprop:Generator_RowDeletingName="httiento2RowDeleting" msprop:Generator_UserTableName="httiento2" msprop:Generator_RowChangingName="httiento2RowChanging" msprop:Generator_RowEvHandlerName="httiento2RowChangeEventHandler" msprop:Generator_RowDeletedName="httiento2RowDeleted" msprop:Generator_RowEvArgName="httiento2RowChangeEvent" msprop:Generator_RowChangedName="httiento2RowChanged" msprop:Generator_RowClassName="httiento2Row">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="tenbang" msprop:Generator_ColumnVarNameInTable="columntenbang" msprop:Generator_ColumnPropNameInRow="tenbang" msprop:Generator_ColumnPropNameInTable="tenbangColumn" msprop:Generator_UserColumnName="tenbang">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="tiento" msprop:Generator_ColumnVarNameInTable="columntiento" msprop:Generator_ColumnPropNameInRow="tiento" msprop:Generator_ColumnPropNameInTable="tientoColumn" msprop:Generator_UserColumnName="tiento">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="id" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnid" msprop:Generator_ColumnPropNameInRow="id" msprop:Generator_ColumnPropNameInTable="idColumn" msprop:Generator_UserColumnName="id" type="xs:decimal" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
    <xs:unique name="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:dmchinhanh" />
      <xs:field xpath="mstns:id" />
    </xs:unique>
    <xs:unique name="dmdvthamgluong_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:dmdvthamgluong" />
      <xs:field xpath="mstns:id" />
    </xs:unique>
    <xs:unique name="dmhotrotrunotudong_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:dmhotrotrunotudong" />
      <xs:field xpath="mstns:id" />
    </xs:unique>
    <xs:unique name="dmkhachhang_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:dmkhachhang" />
      <xs:field xpath="mstns:id" />
    </xs:unique>
    <xs:unique name="dmkheuocvay_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:dmkheuocvay" />
      <xs:field xpath="mstns:id" />
    </xs:unique>
    <xs:unique name="dmkho_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:dmkho" />
      <xs:field xpath="mstns:id" />
    </xs:unique>
    <xs:unique name="dmkhoanmucphi_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:dmkhoanmucphi" />
      <xs:field xpath="mstns:id" />
    </xs:unique>
    <xs:unique name="dmloaichungtu_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:dmloaichungtu" />
      <xs:field xpath="mstns:id" />
    </xs:unique>
    <xs:unique name="dmloaihangmuc_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:dmloaihangmuc" />
      <xs:field xpath="mstns:id" />
    </xs:unique>
    <xs:unique name="dmloaihaohut_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:dmloaihaohut" />
      <xs:field xpath="mstns:id" />
    </xs:unique>
    <xs:unique name="dmloaikhachhang_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:dmloaikhachhang" />
      <xs:field xpath="mstns:id" />
    </xs:unique>
    <xs:unique name="dmloaitaikhoan_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:dmloaitaikhoan" />
      <xs:field xpath="mstns:id" />
    </xs:unique>
    <xs:unique name="dmloaitien_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:dmloaitien" />
      <xs:field xpath="mstns:id" />
    </xs:unique>
    <xs:unique name="dmnganhang_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:dmnganhang" />
      <xs:field xpath="mstns:id" />
    </xs:unique>
    <xs:unique name="dmnganhnghe_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:dmnganhnghe" />
      <xs:field xpath="mstns:id" />
    </xs:unique>
    <xs:unique name="dmnghiepvu_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:dmnghiepvu" />
      <xs:field xpath="mstns:id" />
    </xs:unique>
    <xs:unique name="dmnguonluc_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:dmnguonluc" />
      <xs:field xpath="mstns:id" />
    </xs:unique>
    <xs:unique name="dmnguonvon_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:dmnguonvon" />
      <xs:field xpath="mstns:id" />
    </xs:unique>
    <xs:unique name="dmnhanvienbanhang_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:dmnhanvienbanhang" />
      <xs:field xpath="mstns:id" />
    </xs:unique>
    <xs:unique name="dmnhomnhanvien_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:dmnhomnhanvien" />
      <xs:field xpath="mstns:id" />
    </xs:unique>
    <xs:unique name="dmnhomvattu_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:dmnhomvattu" />
      <xs:field xpath="mstns:id" />
    </xs:unique>
    <xs:unique name="dmphongban_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:dmphongban" />
      <xs:field xpath="mstns:id" />
    </xs:unique>
    <xs:unique name="dmquocgia_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:dmquocgia" />
      <xs:field xpath="mstns:id" />
    </xs:unique>
    <xs:unique name="dmtaikhoannganhang_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:dmtaikhoannganhang" />
      <xs:field xpath="mstns:id" />
    </xs:unique>
    <xs:unique name="dmthoigian_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:dmthoigian" />
      <xs:field xpath="mstns:id" />
    </xs:unique>
    <xs:unique name="dmtrangthai_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:dmtrangthai" />
      <xs:field xpath="mstns:id" />
    </xs:unique>
    <xs:unique name="dmuynhiemchi_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:dmuynhiemchi" />
      <xs:field xpath="mstns:id" />
    </xs:unique>
    <xs:unique name="dmvattu_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:dmvattu" />
      <xs:field xpath="mstns:id" />
    </xs:unique>
    <xs:unique name="form_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:form" />
      <xs:field xpath="mstns:id" />
    </xs:unique>
    <xs:unique name="formitem_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:formitem" />
      <xs:field xpath="mstns:id" />
    </xs:unique>
    <xs:unique name="httiento_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:httiento" />
      <xs:field xpath="mstns:id" />
    </xs:unique>
    <xs:unique name="ketoannganhang_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:ketoannganhang" />
      <xs:field xpath="mstns:id" />
    </xs:unique>
    <xs:unique name="ketoannganhangchitiet_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:ketoannganhangchitiet" />
      <xs:field xpath="mstns:id" />
    </xs:unique>
    <xs:unique name="ketoanphaithu_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:ketoanphaithu" />
      <xs:field xpath="mstns:id" />
    </xs:unique>
    <xs:unique name="ketoanphaithuchitiet_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:ketoanphaithuchitiet" />
      <xs:field xpath="mstns:id" />
    </xs:unique>
    <xs:unique name="ketoantienmat_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:ketoantienmat" />
      <xs:field xpath="mstns:id" />
    </xs:unique>
    <xs:unique name="ketoantienmatchitiet_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:ketoantienmatchitiet" />
      <xs:field xpath="mstns:id" />
    </xs:unique>
    <xs:unique name="menu_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:menu" />
      <xs:field xpath="mstns:id" />
    </xs:unique>
    <xs:unique name="menuitem_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:menuitem" />
      <xs:field xpath="mstns:id" />
    </xs:unique>
    <xs:unique name="nguoidung_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:nguoidung" />
      <xs:field xpath="mstns:id" />
    </xs:unique>
    <xs:unique name="nhomnguoidung_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:nhomnguoidung" />
      <xs:field xpath="mstns:id" />
    </xs:unique>
    <xs:unique name="quanlyhopdongtindung_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:quanlyhopdongtindung" />
      <xs:field xpath="mstns:id" />
    </xs:unique>
    <xs:unique name="quanlyhopdongtindungchitiet_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:quanlyhopdongtindungchitiet" />
      <xs:field xpath="mstns:id" />
    </xs:unique>
    <xs:unique name="theodoichinhsuabaobi_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:theodoichinhsuabaobi" />
      <xs:field xpath="mstns:id" />
    </xs:unique>
    <xs:unique name="theodoinguyenvatlieuncc_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:theodoinguyenvatlieuncc" />
      <xs:field xpath="mstns:id" />
    </xs:unique>
    <xs:unique name="dmkhaibaosohoadon_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:dmkhaibaosohoadon" />
      <xs:field xpath="mstns:id" />
    </xs:unique>
    <xs:unique name="dmmauin_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:dmmauin" />
      <xs:field xpath="mstns:id" />
    </xs:unique>
    <xs:unique name="dmphuongxa_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:dmphuongxa" />
      <xs:field xpath="mstns:id" />
    </xs:unique>
    <xs:unique name="dmquanhuyen_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:dmquanhuyen" />
      <xs:field xpath="mstns:id" />
    </xs:unique>
    <xs:unique name="dmtygia_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:dmtygia" />
      <xs:field xpath="mstns:id" />
    </xs:unique>
    <xs:unique name="nhapsodudaukytknganhang_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:nhapsodudaukytknganhang" />
      <xs:field xpath="mstns:id" />
    </xs:unique>
    <xs:unique name="dmkhaibaosohoadon1_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:dmkhaibaosohoadon1" />
      <xs:field xpath="mstns:id" />
    </xs:unique>
    <xs:unique name="dmmauin1_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:dmmauin1" />
      <xs:field xpath="mstns:id" />
    </xs:unique>
    <xs:unique name="dmphuongxa1_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:dmphuongxa1" />
      <xs:field xpath="mstns:id" />
    </xs:unique>
    <xs:unique name="dmquanhuyen1_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:dmquanhuyen1" />
      <xs:field xpath="mstns:id" />
    </xs:unique>
    <xs:unique name="dmtygia1_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:dmtygia1" />
      <xs:field xpath="mstns:id" />
    </xs:unique>
    <xs:unique name="nhapsodudaukytknganhang1_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:nhapsodudaukytknganhang1" />
      <xs:field xpath="mstns:id" />
    </xs:unique>
    <xs:unique name="dmkhaibaosohoadon2_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:dmkhaibaosohoadon2" />
      <xs:field xpath="mstns:id" />
    </xs:unique>
    <xs:unique name="dmmauin2_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:dmmauin2" />
      <xs:field xpath="mstns:id" />
    </xs:unique>
    <xs:unique name="dmphuongxa2_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:dmphuongxa2" />
      <xs:field xpath="mstns:id" />
    </xs:unique>
    <xs:unique name="dmquanhuyen2_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:dmquanhuyen2" />
      <xs:field xpath="mstns:id" />
    </xs:unique>
    <xs:unique name="dmtygia2_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:dmtygia2" />
      <xs:field xpath="mstns:id" />
    </xs:unique>
    <xs:unique name="nhapsodudaukytknganhang2_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:nhapsodudaukytknganhang2" />
      <xs:field xpath="mstns:id" />
    </xs:unique>
    <xs:unique name="dmlapuynhiemchi_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:dmlapuynhiemchi" />
      <xs:field xpath="mstns:id" />
    </xs:unique>
    <xs:unique name="dmtinhthanh_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:dmtinhthanh" />
      <xs:field xpath="mstns:id" />
    </xs:unique>
    <xs:unique name="dmloainhanvien_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:dmloainhanvien" />
      <xs:field xpath="mstns:id" />
    </xs:unique>
    <xs:unique name="dmnhanvien_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:dmnhanvien" />
      <xs:field xpath="mstns:id" />
    </xs:unique>
    <xs:unique name="dmtaikhoancap2_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:dmtaikhoancap2" />
      <xs:field xpath="mstns:ma" />
    </xs:unique>
    <xs:unique name="httiento1_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:httiento1" />
      <xs:field xpath="mstns:id" />
    </xs:unique>
    <xs:unique name="httiento2_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:httiento2" />
      <xs:field xpath="mstns:id" />
    </xs:unique>
  </xs:element>
  <xs:annotation>
    <xs:appinfo>
      <msdata:Relationship name="FK_ketoannganhangchitiet_ketoannganhang" msdata:parent="ketoannganhang" msdata:child="ketoannganhangchitiet" msdata:parentkey="ma" msdata:childkey="ma" msprop:Generator_UserChildTable="ketoannganhangchitiet" msprop:Generator_ChildPropName="GetketoannganhangchitietRows" msprop:Generator_UserParentTable="ketoannganhang" msprop:Generator_UserRelationName="FK_ketoannganhangchitiet_ketoannganhang" msprop:Generator_RelationVarName="relationFK_ketoannganhangchitiet_ketoannganhang" msprop:Generator_ParentPropName="ketoannganhangRow" />
      <msdata:Relationship name="FK_ketoanphaithuchitiet_ketoanphaithu" msdata:parent="ketoanphaithu" msdata:child="ketoanphaithuchitiet" msdata:parentkey="ma" msdata:childkey="ma" msprop:Generator_UserChildTable="ketoanphaithuchitiet" msprop:Generator_ChildPropName="GetketoanphaithuchitietRows" msprop:Generator_UserParentTable="ketoanphaithu" msprop:Generator_UserRelationName="FK_ketoanphaithuchitiet_ketoanphaithu" msprop:Generator_RelationVarName="relationFK_ketoanphaithuchitiet_ketoanphaithu" msprop:Generator_ParentPropName="ketoanphaithuRow" />
      <msdata:Relationship name="FK_ketoantienmatchitiet_ketoantienmat" msdata:parent="ketoantienmat" msdata:child="ketoantienmatchitiet" msdata:parentkey="ma" msdata:childkey="ma" msprop:Generator_UserChildTable="ketoantienmatchitiet" msprop:Generator_ChildPropName="GetketoantienmatchitietRows" msprop:Generator_UserParentTable="ketoantienmat" msprop:Generator_UserRelationName="FK_ketoantienmatchitiet_ketoantienmat" msprop:Generator_RelationVarName="relationFK_ketoantienmatchitiet_ketoantienmat" msprop:Generator_ParentPropName="ketoantienmatRow" />
      <msdata:Relationship name="FK_quanlyhopdongtindungchitiet_quanlyhopdongtindung" msdata:parent="quanlyhopdongtindung" msdata:child="quanlyhopdongtindungchitiet" msdata:parentkey="ma" msdata:childkey="ma" msprop:Generator_UserChildTable="quanlyhopdongtindungchitiet" msprop:Generator_ChildPropName="GetquanlyhopdongtindungchitietRows" msprop:Generator_UserParentTable="quanlyhopdongtindung" msprop:Generator_UserRelationName="FK_quanlyhopdongtindungchitiet_quanlyhopdongtindung" msprop:Generator_RelationVarName="relationFK_quanlyhopdongtindungchitiet_quanlyhopdongtindung" msprop:Generator_ParentPropName="quanlyhopdongtindungRow" />
    </xs:appinfo>
  </xs:annotation>
</xs:schema>